javax.enterprise.context.ContextNotActiveException: No active contexts for scope type javax.enterprise.context.RequestScoped

Oracle Community | cosmic | 7 years ago
  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
  2. 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) >> >>
  3. 0

    WebBeans context with scope type annotation @Singleton does not exist within current thread

    openwebbeans-user | 4 years ago | Mike Olson
    javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @Singleton does not exist within current thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CODI with ejb stateless on Websphere liberty profile 8.5.5

    goobbe.com | 1 year ago
    javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread
  6. 0

    WebSphere:WebSphere Application Server:Not able to inject a @ApplicationScoped bean in a @WebListener on WAS 8 - WebSphere Application Server Forum

    ibm.com | 1 year ago
    javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.enterprise.context.ContextNotActiveException

      No active contexts for scope type javax.enterprise.context.RequestScoped

      at org.jboss.weld.BeanManagerImpl.getContext()
    2. Weld Implementation
      WeldPhaseListener.beforePhase
      1. org.jboss.weld.BeanManagerImpl.getContext(BeanManagerImpl.java:928)
      2. org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:140)
      3. org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:101)
      4. org.jboss.weld.servlet.HttpSessionManager_$$_javassist_14.setSession(HttpSessionManager_$$_javassist_14.java)
      5. org.jboss.weld.jsf.WeldPhaseListener.initiateSessionAndConversation(WeldPhaseListener.java:169)
      6. org.jboss.weld.jsf.WeldPhaseListener.beforeRestoreView(WeldPhaseListener.java:118)
      7. org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:87)
      7 frames
    3. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      3. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
      4. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      4 frames
    4. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      1 frame
    5. Glassfish Core
      FormAuthenticator.authenticate
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)
      2. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:784)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:479)
      5. org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:450)
      6. org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:346)
      7. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:296)
      8. org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:458)
      9. org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:249)
      9 frames
    6. Security
      RealmAdapter.invokeAuthenticateDelegate
      1. com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1184)
      1 frame
    7. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:604)
      2 frames
    8. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      1 frame