java.lang.NullPointerException

myfaces-users | Karl Kildén | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ContextNotActive for @Model Predestroy trying to interact with @ViewScoped?

    myfaces-users | 2 years ago | Karl Kildén
    java.lang.NullPointerException
  2. 0

    ContextNotActive for @Model Predestroy trying to interact with @ViewScoped?

    myfaces-users | 2 years ago | Karl Kildén
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.myfaces.cdi.view.ViewScopeContextImpl.isActive()
    2. org.apache.myfaces
      ViewScopeContextImpl.isActive
      1. org.apache.myfaces.cdi.view.ViewScopeContextImpl.isActive(ViewScopeContextImpl.java:123)
      1 frame
    3. OpenWebBeans Core
      NormalScopedBeanInterceptorHandler.get
      1. org.apache.webbeans.context.CustomPassivatingContextImpl.isActive(CustomPassivatingContextImpl.java:64)
      2. org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:297)
      3. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:88)
      4. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.get(NormalScopedBeanInterceptorHandler.java:70)
      4 frames