You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Srinivas Vemula (JIRA)" <de...@myfaces.apache.org> on 2014/09/23 11:02:34 UTC

[jira] [Commented] (TRINIDAD-2361) NPE on restoreState after returning from dialog

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

Srinivas Vemula commented on TRINIDAD-2361:
-------------------------------------------

Hi am also getting this issue. can somebody update when and how can this be fixed? or is this fixed in any version of Trinidad?

I am using
myfaces-api-2.2.4
myfaces-impl-2.2.4
trinidad-api-2.1.0
trinidad-impl-2.1.0

> 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
>         Attachments: npeRestoreState.txt
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)