Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-234

NullPointerException in DefaultWindowContextManager#removeWindowContextIdHolderComponent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • JEE-JSF20-Module
    • None

    Description

      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(

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: