deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l.penet@senat.fr" <l.pe...@senat.fr>
Subject Problem with @ViewAccessScoped
Date Tue, 11 Mar 2014 18:04:50 GMT
Dear all,

I tried DeltaSpike 0.6 snapshot from 20140311 (various times from 13:57 
to 13:59).

I have special interest in @ViewAccessScoped

I regularly have the exception whose call stack is pasted below.

Hope this helps...

Ludovic


java.lang.RuntimeException: Could not restore StateHolder of type 
org.apache.deltaspike.jsf.impl.injection.ConverterWrapper (missing 
no-args constructor?)
     at 
javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1902)
     at javax.faces.component.UIOutput.restoreState(UIOutput.java:256)
     at 
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1630)
     at 
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1674)
     at 
org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy$AddComponentCallback.invokeContextCallback(DefaultFaceletsStateManagementStrategy.java:567)
     at javax.faces.component.UIData.invokeOnComponent(UIData.java:333)
     at 
javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:265)
     at 
javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1170)
     at 
javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:265)
     at 
javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1170)
     at 
javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:265)
     at 
javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1170)
     at 
javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:265)
     at 
javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:1170)
     at 
org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.handleDynamicAddedRemovedComponents(DefaultFaceletsStateManagementStrategy.java:491)
     at 
org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.restoreView(DefaultFaceletsStateManagementStrategy.java:431)
     at 
org.apache.myfaces.application.StateManagerImpl.restoreView(StateManagerImpl.java:133)
     at 
org.apache.myfaces.shared.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:104)
     at 
org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:2134)
     at 
org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:336)
     at 
javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:81)
     at 
javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:81)
     at 
org.omnifaces.viewhandler.RestorableViewHandler.restoreView(RestorableViewHandler.java:66)
     at 
javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:81)
     at 
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:168)
     at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
     at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
     at 
org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.execute(DeltaSpikeLifecycleWrapper.java:89)
     at 
javax.faces.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:46)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:196)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at 
fr.senat.faces.filters.HibernateNoCacheFilter.doFilter(HibernateNoCacheFilter.java:118)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at 
fr.senat.faces.filters.HibernateSessionConversationFilter.doFilter(HibernateSessionConversationFilter.java:70)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at 
fr.senat.faces.filters.HibernateUserFromPrincipalFilter.doFilter(HibernateUserFromPrincipalFilter.java:32)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
     at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
     at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
     at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
     at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.InstantiationException: 
org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
     at java.lang.Class.newInstance(Class.java:359)
     at 
javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1898)
     ... 54 more

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Mime
View raw message