NullPointerException in
DefaultWindowContextManager#removeWindowContextIdHolderComponent
----------------------------------------------------------------------------------------
Key: EXTCDI-234
URL: https://issues.apache.org/jira/browse/EXTCDI-234
Project: MyFaces CODI
Issue Type: Bug
Components: JEE-JSF20-Module
Affects Versions: 1.0.1
Reporter: Mark Struberg
Assignee: Mark Struberg
The following happens _sometimes_ in our application:
Not sure what causes this problem since I was not really able to reproduce this
issue locally.
Sep 30 12:49:23 j02 [http-8080-exec-8] ERROR [/course].[Faces Servlet]
Servlet.service() for servlet Faces Servlet threw exception
Sep 30 12:49:23 j02 java.lang.NullPointerException
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextManager.removeWindowContextIdHolderComponent(DefaultWindowContextManager.java:352)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextManager.closeWindowContext(DefaultWindowContextManager.java:339)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextManager.getWindowContext(DefaultWindowContextManager.java:187)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.DefaultWindowContextManager.getCurrentWindowContext(DefaultWindowContextManager.java:136)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.EditableWindowContextManagerProxy.getCurrentWindowContext(EditableWindowContextManagerProxy.java:182)
Sep 30 12:49:23 j02-ic j02 at
sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
Sep 30 12:49:23 j02-ic j02 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Sep 30 12:49:23 j02-ic j02 at
java.lang.reflect.Method.invoke(Method.java:597)
Sep 30 12:49:23 j02-ic j02 at
org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:329)
Sep 30 12:49:23 j02-ic j02 at
org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:123)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.EditableWindowContextManagerProxy_$$_javassist_38.getCurrentWindowContext(EditableWindowContextManagerProxy_$$_javassist_38.java)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.WindowContextAwareViewHandler.restoreView(WindowContextAwareViewHandler.java:115)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf.impl.CodiViewHandler.restoreView(CodiViewHandler.java:101)
Sep 30 12:49:23 j02-ic j02 at
javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83)
Sep 30 12:49:23 j02-ic j02 at
at.ac.tuwien.tiss.core.fe.security.faces.SecurityViewHandler.restoreView(SecurityViewHandler.java:39)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:123)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
Sep 30 12:49:23 j02-ic j02 at
org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
Sep 30 12:49:23 j02-ic j02 at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
Sep 30 12:49:23 j02-ic j02 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira