Sometime today I noticed this exception stopped being thrown. (I also
learned facelets is built into jsf2 so a separate jar isn't required.)

Unfortunately, when I click the Back button, sometimes I see:

org.apache.myfaces.shared_impl.util.StateUtils reconstruct: View State
cannot be reconstructed
javax.faces.FacesException:
javax.faces.application.ViewExpiredException
        at
org.apache.myfaces.shared_impl.util.StateUtils.decrypt(StateUtils.java:
490)
        at
org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:
378)
        at
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getSavedState(HtmlResponseStateManager.java:
213)
        at
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getState(HtmlResponseStateManager.java:
160)
        at
org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.restoreView(DefaultFaceletsStateManagementStrategy.java:
140)
        at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:
388)
        at
org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:
106)
        at
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:
1277)

This occurs for either option of tree state saving: client or server.

notcourage wrote:
> I'm setting up a dev environment w/ Eclipse helios, google Eclipse
> plugin, myfaces 2.0.2, facelets 1.1.14. When I open a .jsf page, a
> stack trace appears in the appengine log when deployed--but it works
> in Eclipse. A snippet of the stack trace:
>
> Caused by: java.lang.RuntimeException: java.io.InvalidObjectException:
> enum constant attributes does not exist in class
> javax.faces.component.UIComponent$PropertyKeys
>       at
> com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
> 413)
>
> This happens even if the page is empty. Same result w/ state saving on
> either client or server. Any ideas? Thx. in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to