[
https://issues.apache.org/jira/browse/EXTCDI-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved EXTCDI-166.
-------------------------------------
Resolution: Fixed
> 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.4
> Environment: myfaces trunk, codi trunk
> Reporter: Martin Kočí
> Assignee: Gerhard Petracek
> Priority: Minor
> Fix For: 0.9.5
>
> Attachments: EXTCDI-166.patch
>
>
> 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