[seam-issues] [JBoss JIRA] (SEAMFACES-245) SecurityPhaseListener throwing NullPointerException if could not find faces resource

Lucas Ventura Carro (JIRA) jira-events at lists.jboss.org
Thu Apr 12 03:05:47 EDT 2012


     [ https://issues.jboss.org/browse/SEAMFACES-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Ventura Carro updated SEAMFACES-245:
------------------------------------------

    Description: After a {{com.sun.faces.context.FacesFileNotFoundException}} thrown, the class {{org.jboss.seam.faces.security.SecurityPhaseListener}} when recieved the event phase {{@RestoreView}} in {{@After}}, the view root is {{null}}, so trying to get its id is throwing {{NullPointerException}}.  (was: After a {{com.sun.faces.context.FacesFileNotFoundException}} thrown, the class {{org.jboss.seam.faces.security.SecurityPhaseListener}} still observes the event @After @RestoreView. But when recieved the view root is {{null}}, so trying to get its id is throwing {{NullPointerException}}.)

    
> SecurityPhaseListener throwing NullPointerException if could not find faces resource
> ------------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-245
>                 URL: https://issues.jboss.org/browse/SEAMFACES-245
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: View Configuration
>    Affects Versions: 3.1.0.Tracking
>         Environment: Tomcat 6, Windows 7 x64
>            Reporter: Lucas Ventura Carro
>
> After a {{com.sun.faces.context.FacesFileNotFoundException}} thrown, the class {{org.jboss.seam.faces.security.SecurityPhaseListener}} when recieved the event phase {{@RestoreView}} in {{@After}}, the view root is {{null}}, so trying to get its id is throwing {{NullPointerException}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list