deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Problem with @ViewAccessScoped
Date Wed, 19 Mar 2014 13:55:59 GMT
hi ludovic,

the latest change for DELTASPIKE-426 was done 7 days ago.

as mentioned earlier: it sounds like a major issue with state-saving in
your application.
(in your current case the restored class-name is null -> wrappedClass is
null and that causes issues with all commits we had for DELTASPIKE-426)

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2014-03-19 14:24 GMT+01:00 l.penet@senat.fr <l.penet@senat.fr>:

> New followup.
>
> All was going great, but with latest 0.6-SNAPSHOT, I have every time the
> same NPE :
>
> Grave: Servlet.service() for servlet [Faces Servlet] in context with path
> [/base_senateurs] threw exception [java.lang.NullPointerException] with
> root cause
> java.lang.NullPointerException
>     at org.apache.deltaspike.jsf.impl.injection.
> ConverterWrapper.getAsString(ConverterWrapper.java:47)
>     at org.apache.deltaspike.jsf.impl.injection.
> ConverterWrapper.getAsString(ConverterWrapper.java:47)
>     at org.apache.myfaces.shared.renderkit.RendererUtils.
> getStringValue(RendererUtils.java:378)
>     at org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase.
> renderOutput(HtmlTextRendererBase.java:86)
>     at org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase.
> encodeEnd(HtmlTextRendererBase.java:73)
>     at javax.faces.component.UIComponentBase.encodeEnd(
> UIComponentBase.java:674)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:554)
>     at javax.faces.component.UIComponentBase.encodeChildren(
> UIComponentBase.java:635)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:541)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeCell(DataTableRenderer.java:867)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeRow(DataTableRenderer.java:827)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeRows(DataTableRenderer.java:742)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeTbody(DataTableRenderer.java:689)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeRegularTable(DataTableRenderer.java:249)
>     at org.primefaces.component.datatable.DataTableRenderer.encodeMarkup(
> DataTableRenderer.java:211)
>     at org.primefaces.component.datatable.DataTableRenderer.
> encodeEnd(DataTableRenderer.java:83)
>     at javax.faces.component.UIComponentBase.encodeEnd(
> UIComponentBase.java:674)
>     at javax.faces.component.UIData.encodeEnd(UIData.java:1721)
>     at org.primefaces.renderkit.CoreRenderer.renderChild(
> CoreRenderer.java:75)
>     at org.primefaces.renderkit.CoreRenderer.renderChildren(
> CoreRenderer.java:58)
>     at org.primefaces.component.outputpanel.OutputPanelRenderer.
> encodeMarkup(OutputPanelRenderer.java:64)
>     at org.primefaces.component.outputpanel.OutputPanelRenderer.encodeEnd(
> OutputPanelRenderer.java:40)
>     at javax.faces.component.UIComponentBase.encodeEnd(
> UIComponentBase.java:674)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:554)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:550)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:550)
>     at javax.faces.component.UIComponentBase.encodeAll(
> UIComponentBase.java:550)
>     at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage
> .renderView(FaceletViewDeclarationLanguage.java:1891)
>     at org.apache.myfaces.application.ViewHandlerImpl.
> renderView(ViewHandlerImpl.java:313)
>     at javax.faces.application.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:57)
>     at javax.faces.application.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:57)
>     at javax.faces.application.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:57)
>     at javax.faces.application.ViewHandlerWrapper.renderView(
> ViewHandlerWrapper.java:57)
>     at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
> RenderResponseExecutor.java:116)
>     at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> LifecycleImpl.java:267)
>     at org.apache.deltaspike.jsf.impl.listener.request.
> DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
>     at javax.faces.lifecycle.LifecycleWrapper.render(
> LifecycleWrapper.java:31)
>     at org.apache.deltaspike.jsf.impl.listener.request.
> DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:111)
>     at javax.faces.lifecycle.LifecycleWrapper.render(
> LifecycleWrapper.java:31)
>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
>
>     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)
>
>
> Everything was fine with 0.6-20140317 . It just went wrong this morning.
>
> Thanks in advance
>
>
> Ludovic
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message