[ 
https://issues.apache.org/jira/browse/MYFACES-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610115#action_12610115
 ] 

Leonardo Uribe commented on MYFACES-1740:
-----------------------------------------

I have checked in deep this issue and the check is fine, since while exists 
UIViewRoot component to be scanned, all children must be instances of 
UIComponent (all components inherits from UIComponent).

I'll close this issue as fixed, but first I'll do some test first and see if I 
can reproduce the error.

> NullPointer exception in ErrorPageWriter
> ----------------------------------------
>
>                 Key: MYFACES-1740
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1740
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.6
>         Environment: Oracle Application Server 10.1.3.1
> Myfaces 1.1.6 + Tomahawk + Ajax4JSF (also happens without the AJAX library)
> Java 5
> In a Suse 9 Box
>            Reporter: Ricardo Ramírez
>            Assignee: Leonardo Uribe
>            Priority: Minor
>
> Since I updated to 1.1.6, my error log has a lot of these:
> java.lang.NullPointerException: 
>         javax.faces.webapp._ErrorPageWriter.isText(_ErrorPageWriter.java:344)
>         
> javax.faces.webapp._ErrorPageWriter.writeComponent(_ErrorPageWriter.java:220)
>         
> javax.faces.webapp._ErrorPageWriter.debugHtml(_ErrorPageWriter.java:143)
>         
> javax.faces.webapp._ErrorPageWriter.handleException(_ErrorPageWriter.java:359)
>         
> javax.faces.webapp.FacesServlet.handleLifecycleException(FacesServlet.java:182)
>         javax.faces.webapp.FacesServlet.service(FacesServlet.java:145)
>         
> com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
> I'm sorry, I've tried reproduced the problem, but I can't. In my 
> single-machine installation, it works fine. Once I load it in the productions 
> servers, with 100+ concurrent users, I start getting this issue. The 
> application itself works fine, and the users haven't reported an unavailable 
> service, but i get like 20 or so of this exceptions daily.
> Any chance that at line 344 of ErrorPageWriter:
>    return (c.getClass().getName().startsWith("com.sun.facelets.compiler"));
> would be changed to:
>     return c != null && 
> (c.getClass().getName().startsWith("com.sun.facelets.compiler"));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to