myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Zorin (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2361) NPE on restoreState after returning from dialog
Date Sun, 10 Feb 2013 17:37:13 GMT
Pavel Zorin created TRINIDAD-2361:
-------------------------------------

             Summary: NPE on restoreState after returning from dialog
                 Key: TRINIDAD-2361
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2361
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.0.2-core, 2.1.0-core
         Environment: Weblogic 10.3.4 JSF 2.1.10  or 2.2-sanpshot
            Reporter: Pavel Zorin


Tried client-token and server state saving. After returning from any dialog window and triggering
some another action I've got :

phaseId=RESTORE_VIEW(1)
java.lang.NullPointerException - Error restoring component: j_id_o:j_id_p
at org.apache.myfaces.trinidad.bean.AttachedObjects.restoreState(AttachedObjects.java:238)
...
at org.apache.myfaces.trinidad.component.UIXTable.restoreState(UIXTable.java:327)
	at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.restoreStateFromMap(DefaultFaceletsStateManagementStrategy.java:687)

(Adding additional not-null check  for target variable l = _objectMap.get(e.getKey()); at
 AttachedObjects:236 helped to avoid errors, but not sure this is proper behavior)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message