[
https://issues.apache.org/jira/browse/TRINIDAD-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796204#action_12796204
]
Matthias Weßendorf commented on TRINIDAD-1670:
----------------------------------------------
a (very) quick check on the myfaces impl of the statemgrstrategy show there is
a check on the "facetName" (for null):
http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java
==>
...
if (addedState[1] != null)
{
String facetName = (String) addedState[1];
UIComponent child = internalRestoreTreeStructure((TreeStructComponent)
addedState[3]);
child.processRestoreState(context, addedState[4]);
target.getFacets().put(facetName,child);
}
...
> Trinidad 2 - NPE when adding component programatically
> ------------------------------------------------------
>
> Key: TRINIDAD-1670
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1670
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 2.0.0-core
> Reporter: Gabrielle Crawford
> Assignee: Matthias Weßendorf
> Attachments: web_xml_diff
>
>
> run the test stateSaving/partialAddComponent.jspx, get an NPE. Note that when
> I comment out some of the code added my Matthias for Trinidad 1611 in rev
> 883285 I get farther.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.