Anup created MYFACES-3983:
-----------------------------

             Summary: NPE thrown from 
org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.createAndQueueException(CheckDuplicateIdFaceletUtils.java:139)
                 Key: MYFACES-3983
                 URL: https://issues.apache.org/jira/browse/MYFACES-3983
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-344
    Affects Versions: 2.2.7
            Reporter: Anup
            Priority: Minor


Install the ViewScopeTest which was created from the following stack over flow 
posting: 
http://stackoverflow.com/questions/2797231/why-does-postconstruct-callback-fire-every-time-even-though-bean-is-viewscoped

Drive a request to /ViewScopeTest/ViewScopeBinding.jsf 
and click on one of the buttons.



The following error occurs:

 Exception thrown by application class 
'javax.faces.webapp.FacesServlet.service:230' 
  javax.servlet.ServletException: 
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:230)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1285)
at [internal classes]
 
Caused by: java.lang.NullPointerException: 
 at 
org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.createAndQueueException(CheckDuplicateIdFaceletUtils.java:139)
... 1 more

This works fine on server with Mojarra 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to