javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @Singleton does not exist within current thread

openwebbeans-user | Mike Olson | 4 years ago
  1. 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
  2. 0

    visual-studio-2012: juillet 2015

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

    PrimeFaces Community Forum • View topic - Primefaces + MyFaces + CDI (OpenWebBeans) + WAS 8.5

    primefaces.org | 1 year ago
    javax.servlet.ServletException: WebBeans context with scope type annotation @RequestScoped does not exist within current thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JPA Module Problem with Websphere 8

    incubator-deltaspike-users | 4 years ago | Christian Beikov
    javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @RequestScoped does not exist within current thread
  6. 0

    cdi - javax.enterprise.context.ContextNotActiveException while using scoped beans in @Producer methods

    Stack Overflow | 1 year ago | ares
    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

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

      at org.apache.webbeans.container.BeanManagerImpl.getContext()
    2. OpenWebBeans Core
      AbstractInjectionTargetBean.injectFields
      1. org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:351)
      2. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:861)
      3. org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:759)
      4. org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:136)
      5. org.apache.webbeans.inject.InjectableField.doInjection(InjectableField.java:59)
      6. org.apache.webbeans.component.AbstractInjectionTargetBean.injectField(AbstractInjectionTargetBean.java:387)
      7. org.apache.webbeans.component.AbstractInjectionTargetBean.injectFields(AbstractInjectionTargetBean.java:324)
      7 frames
    3. org.apache.webbeans
      InjectionTargetProducer.inject
      1. org.apache.webbeans.portable.creation.InjectionTargetProducer.inject(InjectionTargetProducer.java:95)
      1 frame
    4. OpenWebBeans Core
      AbstractInjectionTargetBean.injectSuperFields
      1. org.apache.webbeans.component.InjectionTargetWrapper.inject(InjectionTargetWrapper.java:76)
      2. org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:181)
      3. org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:70)
      4. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:132)
      5. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:872)
      6. org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:753)
      7. org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:136)
      8. org.apache.webbeans.inject.InjectableField.doInjection(InjectableField.java:59)
      9. org.apache.webbeans.component.AbstractInjectionTargetBean.injectField(AbstractInjectionTargetBean.java:387)
      10. org.apache.webbeans.component.AbstractInjectionTargetBean.injectSuperFields(AbstractInjectionTargetBean.java:368)
      10 frames
    5. org.apache.webbeans
      InjectionTargetProducer.inject
      1. org.apache.webbeans.portable.creation.InjectionTargetProducer.inject(InjectionTargetProducer.java:93)
      1 frame
    6. OpenWebBeans Core
      InstanceImpl.get
      1. org.apache.webbeans.component.InjectionTargetWrapper.inject(InjectionTargetWrapper.java:76)
      2. org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:181)
      3. org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:70)
      4. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:132)
      5. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:872)
      6. org.apache.webbeans.inject.instance.InstanceImpl.get(InstanceImpl.java:126)
      6 frames