java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JBPM server gets stopped on Exception - Need help
    via by sangram konde,
  • GitHub comment 67#131100681
    via GitHub by deruelle
    ,
  • JBoss NameNotFoundException
    via GitHub by gvsrini
    ,
  • inject @Stateless EJB from other .ear
    via Stack Overflow by caarlos0
    ,
    • java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor369.newInstance(Unknown Source)[:1.7.0_79] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[rt.jar:1.7.0_79] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[rt.jar:1.7.0_79] at org.jbpm.services.task.HumanTaskConfigurator.addDefaultInterceptor(HumanTaskConfigurator.java:168)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.task.HumanTaskConfigurator.getTaskService(HumanTaskConfigurator.java:142)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.cdi.producer.HumanTaskServiceProducer.produceTaskService(HumanTaskServiceProducer.java:108)[jbpm-services-cdi-6.2.0.Final.jar:6.2.0.Final] at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)[:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_79] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_79] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:86)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:96)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:151)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:753)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bean.builtin.InstanceImpl.getBeanInstance(InstanceImpl.java:86)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:76)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jbpm.services.cdi.producer.CDITaskServiceFactory.newTaskService(CDITaskServiceFactory.java:38)[jbpm-services-cdi-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.cdi.producer.CDITaskServiceFactory$Proxy$_$$_WeldClientProxy.newTaskService(Unknown Source)[jbpm-services-cdi-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager.close(PerProcessInstanceRuntimeManager.java:194)[jbpm-runtime-manager-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.kie.services.impl.AbstractDeploymentService.shutdown(AbstractDeploymentService.java:272)[jbpm-kie-services-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.cdi.impl.DeploymentServiceCDIImpl.shutdown(DeploymentServiceCDIImpl.java:81)[jbpm-services-cdi-6.2.0.Final.jar:6.2.0.Final] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_79] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_79] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.preDestroy(DefaultLifecycleCallbackInvoker.java:82)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.producer.BasicInjectionTarget.preDestroy(BasicInjectionTarget.java:100)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.injection.producer.BeanInjectionTarget.preDestroy(BeanInjectionTarget.java:72)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bean.ManagedBean.destroy(ManagedBean.java:179)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.util.bean.IsolatedForwardingBean.destroy(IsolatedForwardingBean.java:49)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.context.AbstractContext.destroyContextualInstance(AbstractContext.java:145)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.context.AbstractContext.destroy(AbstractContext.java:158)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.context.AbstractSharedContext.destroy(AbstractSharedContext.java:61)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.context.AbstractSharedContext.invalidate(AbstractSharedContext.java:56)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bootstrap.WeldRuntime.shutdown(WeldRuntime.java:57)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bootstrap.WeldBootstrap.shutdown(WeldBootstrap.java:105)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.as.weld.WeldBootstrapService.stop(WeldBootstrapService.java:136)[wildfly-weld-8.1.0.Final.jar:8.1.0.Final] at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)[jboss-msc-1.2.2.Final.jar:1.2.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)[jboss-msc-1.2.2.Final.jar:1.2.2.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_79] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_79] Caused by: java.lang.IllegalStateException: Unable to find transaction: java:comp/UserTransaction at org.drools.persistence.jta.JtaTransactionManager.findUserTransaction(JtaTransactionManager.java:139)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:79)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.task.persistence.TaskTransactionInterceptor.initTransactionManager(TaskTransactionInterceptor.java:168)[jbpm-human-task-jpa-6.2.0.Final.jar:6.2.0.Final] at org.jbpm.services.task.persistence.TaskTransactionInterceptor.<init>(TaskTransactionInterceptor.java:41)[jbpm-human-task-jpa-6.2.0.Final.jar:6.2.0.Final] ... 46 more Caused by: javax.naming.NameNotFoundException: java:comp/UserTransaction at org.jboss.as.naming.InitialContext$DefaultInitialContext.findContext(InitialContext.java:187)[wildfly-naming-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:231)[wildfly-naming-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)[wildfly-naming-8.1.0.Final.jar:8.1.0.Final] at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)[wildfly-naming-8.1.0.Final.jar:8.1.0.Final] at javax.naming.InitialContext.lookup(InitialContext.java:411)[rt.jar:1.7.0_79] at javax.naming.InitialContext.lookup(InitialContext.java:411)[rt.jar:1.7.0_79] at org.drools.persistence.jta.JtaTransactionManager.findUserTransaction(JtaTransactionManager.java:131)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final] ... 49 more

    Users with the same issue

    Unknown visitor1 times, last one,
    ivanszkypeter
    1 times, last one,
    Andreas Häber
    6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    17 more bugmates