[
https://issues.jboss.org/browse/SEAMFACES-245?page=com.atlassian.jira.plu...
]
Lucas Ventura Carro updated SEAMFACES-245:
------------------------------------------
Workaround Description: TODO: want to try, but therorically could work: exclude the
bean {{org.jboss.seam.faces.security.SecurityPhaseListener}} using {{beans.xml}}, create a
new class extending it, but override the method {{performObservation}} testing if viewRoot
is not {{null}}.
Description: 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}}. (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 is throwing
{{NullPointerException}} when the resource)
Complexity: Low
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}} still observes the event @After
@RestoreView. But when recieved 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