[
https://issues.apache.org/jira/browse/TRINIDAD-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson resolved TRINIDAD-955.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.7-core
Added back in the JSF 1.1 deprecated functionality to support JSF
state managers (i.e. facelets)
SVN Rev. 630069
> ClassCastException in StateManagerImpl on PPR
> ---------------------------------------------
>
> Key: TRINIDAD-955
> URL: https://issues.apache.org/jira/browse/TRINIDAD-955
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Archetype
> Affects Versions: 1.2.6-core
> Environment: Facelets 1.1.14, JSF 1.2_07 RI
> Reporter: Alexey Stukalov
> Assignee: Andrew Robinson
> Priority: Critical
> Fix For: 1.2.7-core
>
> Attachments: TRINIDAD_955_pprProb.zip
>
>
> On attempt to PPR, the following exception is thrown:
> {panel}
> Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast
> to java.lang.String
> at
> org.apache.myfaces.trinidadinternal.util.SubKeyMap._getBaseKey(SubKeyMap.java:116)
> at
> org.apache.myfaces.trinidadinternal.util.SubKeyMap.get(SubKeyMap.java:75)
> at
> org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:526)
> at
> com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:318)
> at
> com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
> at
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:204)
> at
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:260)
> at
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:176)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> at
> com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
> ... 19 more
> {panel}
> Instead of returning token string, an array of objects is returned by
> ResponseStateManager.getTreeStructureToRestore().
> This affects trinidad-1.2.6 (maybe the issue is caused by changes in revision
> #614404 ?). trinidad-1.2.5 is ok
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.