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)

incubator-deltaspike-users | Mark Struberg | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: JPA Module Problem with Websphere 8

    incubator-deltaspike-users | 4 years ago | Mark Struberg
    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)
  2. 0

    Re: JPA Module Problem with Websphere 8

    incubator-deltaspike-users | 4 years ago | Mark Struberg
    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)

    Root Cause Analysis

    1. 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()
    2. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame