Handle situation for viewRoot = null ------------------------------------ Key: EXTCDI-166 URL: https://issues.apache.org/jira/browse/EXTCDI-166 Project: MyFaces CODI Issue Type: Bug Components: JEE-JSF20-Module Affects Versions: 0.9.5 Environment: myfaces trunk, codi trunk Reporter: Martin Kočí
With example from http://www.nfjsone.com/blog/ed_burns/2009/09/dealing_gracefully_with_viewexpiredexception_in_jsf2 and a coding typo like: nav.handleNavigation(fc, null, "/nonExistentView.xhtml"); you get facesContext.viewRoot = null even in render_response phase codi throw NPEs in such case, see attached patch for details. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira