myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-2469) Invalid outcome gives NPE
Date Wed, 30 Dec 2009 18:04:29 GMT
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.


Mime
View raw message