You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2009/12/03 21:54:20 UTC

[jira] Created: (MYFACES-2445) NPE on rendering outcome target links

NPE on rendering outcome target links
-------------------------------------

                 Key: MYFACES-2445
                 URL: https://issues.apache.org/jira/browse/MYFACES-2445
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.0-alpha
            Reporter: Michael Kurz
         Attachments: MYFACES-2445.patch

A NPE is thrown on rendering outcome target links that have no parameters set.

Reason is that HtmlRendererUtils.getOutcomeTargetLinkHref only creates parameters map if an actual parameter exists but this map is always accessed in further processing.

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


[jira] Updated: (MYFACES-2445) NPE on rendering outcome target links

Posted by "Michael Kurz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Kurz updated MYFACES-2445:
----------------------------------

    Status: Patch Available  (was: Open)

> NPE on rendering outcome target links
> -------------------------------------
>
>                 Key: MYFACES-2445
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2445
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>         Attachments: MYFACES-2445.patch
>
>
> A NPE is thrown on rendering outcome target links that have no parameters set.
> Reason is that HtmlRendererUtils.getOutcomeTargetLinkHref only creates parameters map if an actual parameter exists but this map is always accessed in further processing.

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


[jira] Updated: (MYFACES-2445) NPE on rendering outcome target links

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe updated MYFACES-2445:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha-2
         Assignee: Leonardo Uribe
           Status: Resolved  (was: Patch Available)

Thanks to Michael Kurz for provide this patch

> NPE on rendering outcome target links
> -------------------------------------
>
>                 Key: MYFACES-2445
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2445
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-alpha-2
>
>         Attachments: MYFACES-2445.patch
>
>
> A NPE is thrown on rendering outcome target links that have no parameters set.
> Reason is that HtmlRendererUtils.getOutcomeTargetLinkHref only creates parameters map if an actual parameter exists but this map is always accessed in further processing.

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