Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

NullPointerException after upgrading to Trinidad 2.0.1

Mike Calmus

2012-04-11


Author LoginPost Reply
I have an app running with MyFaces 2.1.5, Spring 3.1.0 and Spring webflow
2.3.0. We are also using Trinidad. Everything has been wroking fine with
Trinidad 1.2.14. I just tried to upgrade to Trinidad 2.0.1. Pages load up
initially, but if I try to reload any of the pages I get a
NullPointerException.

Caused by: java.lang.NullPointerException: state
at
javax.faces.component.UIComponentBase.restoreState (UIComponentBase.java:1866)
at
javax.faces.component.UIComponentBase.processRestoreState (UIComponentBase.java:1496)
at
javax.faces.component.UIComponentBase.processRestoreState (UIComponentBase.java:1511)
at javax.faces.component.UIViewRoot.processRestoreState (UIViewRoot.java:765)
at
org.springframework.faces.webflow.FlowViewStateManager.restoreComponentState (FlowViewStateManager.java:78)
at
org.springframework.faces.webflow.FlowViewStateManager.restoreView (FlowViewStateManager.java:200)
at
org.apache.myfaces.shared.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106)
at
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:2037)
at
org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.restoreView(ViewDeclarationLanguageFactoryImpl.java:335)
at
org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:300)
at
javax.faces.application.ViewHandlerWrapper.restoreView (ViewHandlerWrapper.java:83)
at
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView (ViewHandlerImpl.java:242)
at
org.springframework.faces.webflow.FlowViewHandler.restoreFlowView (FlowViewHandler.java:144)
at
org.springframework.faces.webflow.FlowViewHandler.restoreView (FlowViewHandler.java:83)
at
org.springframework.faces.webflow.JsfViewFactory.getView (JsfViewFactory.java:105)
at org.springframework.webflow.engine.ViewState.resume (ViewState.java:193)
at org.springframework.webflow.engine.Flow.resume (Flow.java:545)
at
org.springframework.webflow.engine.impl.FlowExecutionImpl.resume (FlowExecutionImpl.java:261)
I'm not really sure where the problem lies here, but Trinidad certainly
seems to be the proverbial straw.

--
Mike
©2008 junlu.com - Jax Systems, LLC, U.S.A.