Invalid outcome gives NPE
-------------------------

                 Key: MYFACES-2469
                 URL: https://issues.apache.org/jira/browse/MYFACES-2469
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha
            Reporter: Matthias Weßendorf
         Attachments: invalidOutcome.diff

when you have an invalid outcome, like:

<h:link outcome="foo">Blah</link>, but  there is no foo.xhtml, we see an NPE

java.lang.NullPointerException
        at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.getOutcomeTargetLinkHref(HtmlRendererUtils.java:1815)
        at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.renderOutcomeLinkStart(HtmlLinkRendererBase.java:742)
        at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:121)
        at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:430)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to