You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kamran Kashanian (JIRA)" <de...@myfaces.apache.org> on 2007/11/07 20:48:51 UTC

[jira] Updated: (TRINIDAD-803) NPE in UIXCollection saveStampState()

     [ https://issues.apache.org/jira/browse/TRINIDAD-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kamran Kashanian updated TRINIDAD-803:
--------------------------------------

    Status: Patch Available  (was: Open)

> NPE in UIXCollection saveStampState()
> -------------------------------------
>
>                 Key: TRINIDAD-803
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-803
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.3-core
>         Environment: All (Tested on Windows XP SP2)
>            Reporter: Kamran Kashanian
>             Fix For: 1.2.3-core
>
>
> Some recent optimizations were added to the saveStampState() method in the UIXCollection component in Trinidad 1.2.3. Under certain circumstances (certain combination of stamped components inside the UIXCollection), this change can cause a NullPointerException. 
> Specifically, if a stamped component contains a combination of facets, some of which have state to save and some have no state, the saveStampState() method can create a state array with null values for facet names. The null facet names can later cause a NullPointerException in restoreStampState().
> Attach is a patch for the saveStampState() method to avoid saving null facet names. 

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