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

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

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

Jeanne Waldman commented on TRINIDAD-803:
-----------------------------------------

Checked this patch into 1.2.3.1.
It needs to go into trunk and 1.0.4-prerelease as well(since it will get into 1.2.4 and we need to keep 1.0.4 and 1.2.4 in sync).

> 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
>            Assignee: Jeanne Waldman
>             Fix For: 1.2.3-core
>
>         Attachments: trinidad-1.2.3.stamp-state.patch, trinidad-1.2.3.stamp-state2.patch
>
>
> 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.