[
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.