myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Calmus (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3604) NullPointerException in UIComponentBase when used with Trinidad 2.x and Spring-webflow
Date Fri, 07 Sep 2012 16:24:07 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Calmus resolved MYFACES-3604.
----------------------------------

    Resolution: Not A Problem
    
> NullPointerException in UIComponentBase when used with Trinidad 2.x and Spring-webflow
> --------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3604
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3604
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.7
>         Environment: Weblogic 11g, MyFaces 2.1.x, Trinidad 2.x, Spring 3.1.x, Spring
webflow 2.3.x
>            Reporter: Mike Calmus
>            Priority: Critical
>
> When using the listed configuration a NullPointerException is thrown in UIComponentBase
when transitioning Spring Webflow states. With the same configuration but Trinidad 1.2.x (1.2.11
and 1.2.14 tested), everything works fine. 
> org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state
'start' of flow 'unauthenticated'
> 	at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:571)
> 	at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:262)
> 	at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
> 	at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
> 	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
> 	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
> 	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
> 	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at mil.osd.dmdc.deers.applicationsecurity.policyagent.filter.AbstractConsentFilter.doFilter(AbstractConsentFilter.java:114)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at mil.osd.dmdc.ctis.rss.server.InputDateFilter.doFilter(InputDateFilter.java:46)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at mil.osd.dmdc.ctis.rss.server.AuditTransactionErrorHandlingFilter.doFilter(AuditTransactionErrorHandlingFilter.java:40)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> 	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
> 	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
> 	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
> 	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
> 	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
> Caused by: java.lang.NullPointerException: state
> 	at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1981)
> 	at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1593)
> 	at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1608)
> 	at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:772)
> 	at org.springframework.faces.webflow.FlowViewStateManager.restoreComponentState(FlowViewStateManager.java:78)
> 	at org.springframework.faces.webflow.FlowViewStateManager.restoreView(FlowViewStateManager.java:203)
> 	at org.apache.myfaces.shared.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106)
> 	at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:2045)
> 	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:258)
> 	... 34 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message