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

Andreas Gärtner commented on MYFACES-1740:
------------------------------------------

I've also run across this issue after upgrading to 1.2.1-Snapshot with 
tomahawk, but haven't investigated it further. Right now I'm back to 1.2.0 with 
tomahawk 1.1.6 which isn't showing these errors, though I don't recommend this 
combination since I'm having other issues with it, e.g. <t:validateEmail />

> 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
>            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