javax.enterprise.context.ContextNotActiveException

WebBeans context with scope > type annotation @RequestScoped does not exist within current thread at > org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:321) at > org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:124) at > org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95) at > org.apache.deltaspike.jpa.impl.transaction.context.TransactionBeanStorage_$$_javassist_370.isEmpty(TransactionBeanStorage_$$_javassist_370.java) at > org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:82) at > org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web58

  • via incubator-deltaspike-users by Mark Struberg, 9 months ago
    WebBeans context with scope > type annotation @RequestScoped does not exist within current thread at > org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:321) at
  • via incubator-deltaspike-users by Mark Struberg, 1 year ago
    WebBeans context with scope > type annotation @RequestScoped does not exist within current thread at > org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:321) at
  • via grokbase.com by Unknown author, 1 year ago
    WebBeans context with scope type annotation @SessionScoped does not exist within current thread at org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:351) at
  • Stack trace

    • javax.enterprise.context.ContextNotActiveException: WebBeans context with scope > type annotation @RequestScoped does not exist within current thread at > org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:321) at > org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:124) at > org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95) at > org.apache.deltaspike.jpa.impl.transaction.context.TransactionBeanStorage_$$_javassist_370.isEmpty(TransactionBeanStorage_$$_javassist_370.java) at > org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:82) at > org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.