[ 
https://issues.apache.org/jira/browse/MYFACES-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316350#comment-16316350
 ] 

Paul Nicolucci commented on MYFACES-4140:
-----------------------------------------

[~deki] can you test this on the latest snapshot ? I think this was due to the 
same issue fixed in [https://issues.apache.org/jira/browse/MYFACES-4183]

> NullPointerException instead of InvalidViewIdException
> ------------------------------------------------------
>
>                 Key: MYFACES-4140
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4140
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3.0-beta
>            Reporter: Dennis Kieselhorst
>            Priority: Minor
>
> In case of an invalid viewId an NPE is thrown instead of 
> InvalidViewIdException. This is reproducible using tobago-example-demo 
> (NavigationTree /content/root-dummy.xhtml).
> {noformat}
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.myfaces.application.ViewHandlerImpl.getViewParameterList(ViewHandlerImpl.java:459)
>         at 
> org.apache.myfaces.application.ViewHandlerImpl.getBookmarkableURL(ViewHandlerImpl.java:141)
>         at 
> javax.faces.application.ViewHandlerWrapper.getBookmarkableURL(ViewHandlerWrapper.java:134)
>         at 
> javax.faces.application.ViewHandlerWrapper.getBookmarkableURL(ViewHandlerWrapper.java:134)
>         at 
> org.apache.myfaces.tobago.internal.util.RenderUtils.generateUrl(RenderUtils.java:229)
>         at 
> org.apache.myfaces.tobago.internal.renderkit.renderer.CommandRendererBase.encodeBegin(CommandRendererBase.java:86)
>         at 
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:597)
>         at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:527)
>         at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:551)
>         at 
> org.apache.myfaces.tobago.internal.renderkit.renderer.TreeRenderer.encodeEnd(TreeRenderer.java:130)
>         at 
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:675)
>         at javax.faces.component.UIData.encodeEnd(UIData.java:1811)
>         at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:555)
>         at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:551)
>         at javax.faces.render.Renderer.encodeChildren(Renderer.java:95)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to