[
https://issues.apache.org/jira/browse/MYFACES-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057551#comment-13057551
]
Leonardo Uribe commented on MYFACES-3189:
-----------------------------------------
Code commited on MYFACES-3188 to throw ViewNotFoundException, to allow a custom
ExceptionHandler implementation to handle it gracefully. Please check it. If no
objections I'll close this issue soon too.
> NavigationHandler: navigation to nonexistent view after ViewExpired throws NPE
> ------------------------------------------------------------------------------
>
> Key: MYFACES-3189
> URL: https://issues.apache.org/jira/browse/MYFACES-3189
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.0.8-SNAPSHOT, 2.1.2-SNAPSHOT
> Reporter: Martin Kočí
>
> see
> http://weblogs.java.net/blog/edburns/archive/2009/09/03/dealing-gracefully-viewexpiredexception-jsf2
> If user provides nonexistent viewId, NPE occurs: MYFACES-3188
> navigation in this situation leads to facesContext.viewRoot = null. I don't
> know what spec says about it but mojarra stays on current view in this case
> (navigate?) - on that view, where VVE is.
> We should also provide a warning about this situation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira