Hi,

Thanks for digging into it. 

I don't use iFrame.

In my case, the problem disappears(or does not show), if I don't use 
jscookmenu.   I wonder if it has something to do with the situation where the 
page is redirected back from the login page by the filter.  And somehow it 
works on a different thread or the threadlocal has been reset?

Thanks again for the trouble.

Wei
 

On Thursday 19 January 2006 17:08, Mario Ivankovits wrote:
> Hi!
>
> Ok, In my case the FacesContext is null.
>
> html.HtmlRendererUtils - *NULL* context null
> Servlet.service() for servlet opsj threw exception
> java.lang.NullPointerException
>         at
> org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlR
>endererUtils.java:1008) at
> org.apache.myfaces.component.html.util.AddResource.writeWithFullHeader(AddR
>esource.java:713) at
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Extensions
>Filter.java:139)
>
> It will be hard work to determine why the facesContext is null.
> One idea I have in mind is, that the given page has an iframe which will
> also be a faces page.
>
> Now that exactly this page works multiple times and only fails rarely I
> guess this has something to do with concurrency, though, the faces
> context is in an thread local, so why should this have something to do
> with conc?
>
> Odd, thing - If no one else has a new idea, I have to add more debug
> statements.
>
> ---
> Mario

Reply via email to