javax.enterprise.context.ContextNotActiveException: No active >> contexts for scope type javax.enterprise.context.RequestScoped >> at >> org.jboss.weld.BeanManagerImpl.getContext(BeanManagerImpl.java:928) >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:140) >> >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:101) >> >> at >> org.jboss.weld.servlet.HttpSessionManager_$$_javassist_14.setSession(HttpSessionManager_$$_javassist_14.java) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.initiateSessionAndConversation(WeldPhaseListener.java:169) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforeRestoreView(WeldPhaseListener.java:118) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:87) >> >>

Oracle Community | cosmic | 7 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

    Glassfishv3 j_security_check causes No active contexts errors

    Oracle Community | 7 years ago | cosmic
    javax.enterprise.context.ContextNotActiveException: No active >> contexts for scope type javax.enterprise.context.RequestScoped >> at >> org.jboss.weld.BeanManagerImpl.getContext(BeanManagerImpl.java:928) >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:140) >> >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:101) >> >> at >> org.jboss.weld.servlet.HttpSessionManager_$$_javassist_14.setSession(HttpSessionManager_$$_javassist_14.java) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.initiateSessionAndConversation(WeldPhaseListener.java:169) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforeRestoreView(WeldPhaseListener.java:118) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:87) >> >>

    Root Cause Analysis

    1. javax.enterprise.context.ContextNotActiveException

      No active >> contexts for scope type javax.enterprise.context.RequestScoped >> at >> org.jboss.weld.BeanManagerImpl.getContext(BeanManagerImpl.java:928) >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:140) >> >> at >> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:101) >> >> at >> org.jboss.weld.servlet.HttpSessionManager_$$_javassist_14.setSession(HttpSessionManager_$$_javassist_14.java) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.initiateSessionAndConversation(WeldPhaseListener.java:169) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforeRestoreView(WeldPhaseListener.java:118) >> >> at >> org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:87) >> >>

      at com.sun.faces.lifecycle.Phase.handleBeforePhase()
    2. JSF
      Phase.handleBeforePhase
      1. com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      1 frame