java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

GitHub | geostp | 2 years ago
  1. 0

    why does loading Drools 6 KIE JAR into code fail?

    Stack Overflow | 3 years ago | user3173088
    java.lang.RuntimeException: Cannot find KieModule: com.myprojects:myProject:LATEST
  2. 0

    How to integrate KIE Workbench 6.1.0.Final (Drools Guvnor) Project with Java Application

    tagwith.com | 1 year ago
    java.lang.RuntimeException: Cannot find KieModule: com.example.rule:RuleProject:1.0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Back to Basics #3: Using Drools KIE CI (Continuous Integration) - 推酷

    tuicool.com | 1 year ago
    java.lang.RuntimeException: Cannot find KieModule: org.drools.workshop:my-first-drools-kjar:1.0-SNAPSHOT
  5. 0

    Back to Basics #3: Using Drools KIE CI (Continuous Integration) | .Salaboy

    salaboy.com | 1 year ago
    java.lang.RuntimeException: Cannot find KieModule: org.drools.workshop:my-first-drools-kjar:1.0-SNAPSHOT

    4 unregistered visitors
    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. java.lang.RuntimeException

      Cannot find KieModule: org.jbpm.examples:rewards:1.0

      at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer()
    2. Drools :: Compiler
      KieServicesImpl.newKieContainer
      1. org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:108)
      1 frame
    3. jBPM :: RuntimeManager
      RuntimeEnvironmentBuilder.newDefaultBuilder
      1. org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.getDefault(RuntimeEnvironmentBuilder.java:180)
      2. org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.getDefault(RuntimeEnvironmentBuilder.java:160)
      3. org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder.newDefaultBuilder(RuntimeEnvironmentBuilder.java:390)
      3 frames
    4. org.jbpm.examples
      RewardsApplicationScopedProducer.produceEnvironment
      1. org.jbpm.examples.util.RewardsApplicationScopedProducer.produceEnvironment(RewardsApplicationScopedProducer.java:58)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_21]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_21]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_21]
      4. java.lang.reflect.Method.invoke(Method.java:601)[rt.jar:1.7.0_21]
      4 frames
    6. Weld Implementation
      SecureReflections.invoke
      1. org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      2. org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      3. org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      4. org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      4 frames
    7. Weld
      WeldMethodImpl.invokeOnInstance
      1. org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:164)
      1 frame
    8. Weld Implementation
      InstanceImpl.get
      1. org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
      2. org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
      3. org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
      4. org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
      5. org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:68)
      6. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:626)
      7. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:653)
      8. org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:108)
      8 frames
    9. org.jbpm.runtime
      RuntimeManagerProducer.newSingletonRuntimeManager
      1. org.jbpm.runtime.manager.impl.cdi.RuntimeManagerProducer.newSingletonRuntimeManager(RuntimeManagerProducer.java:66)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_21]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_21]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_21]
      4. java.lang.reflect.Method.invoke(Method.java:601)[rt.jar:1.7.0_21]
      4 frames
    11. Weld Implementation
      SecureReflections.invoke
      1. org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      2. org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      3. org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      4. org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      4 frames
    12. Weld
      WeldMethodImpl.invokeOnInstance
      1. org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:164)
      1 frame
    13. Weld Implementation
      SessionBean$SessionBeanInjectionTarget.inject
      1. org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
      2. org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
      3. org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
      4. org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
      5. org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:68)
      6. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:626)
      7. org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:692)
      8. org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:136)
      9. org.jboss.weld.util.Beans.injectBoundFields(Beans.java:796)
      10. org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:805)
      11. org.jboss.weld.bean.SessionBean$SessionBeanInjectionTarget$1.proceed(SessionBean.java:179)
      12. org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
      13. org.jboss.weld.bean.SessionBean$SessionBeanInjectionTarget.inject(SessionBean.java:176)
      13 frames
    14. Weld
      WeldInjectionInterceptor.processInvocation
      1. org.jboss.as.weld.injection.WeldEEInjection.inject(WeldEEInjection.java:78)
      2. org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:54)
      2 frames
    15. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      1 frame
    16. JBoss Application Server: EE
      ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation
      1. org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:109)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    17. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      2. org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      3 frames
    18. JBoss Application Server: EE
      ComponentInstantiatorInterceptor.processInvocation
      1. org.jboss.as.ee.component.ComponentInstantiatorInterceptor.processInvocation(ComponentInstantiatorInterceptor.java:76)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    19. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      2. org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      3 frames
    20. Weld
      Jsr299BindingsCreateInterceptor.processInvocation
      1. org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:92)
      1 frame
    21. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      1 frame
    22. JBoss Application Server: EE
      NamespaceContextInterceptor.processInvocation
      1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    23. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      1 frame
    24. JBoss Application Server: EJB Subsystem
      BMTInterceptor.processInvocation
      1. org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:104)[jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2. org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:56)[jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2 frames
    25. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      1 frame
    26. JBoss Application Server: EJB Subsystem
      CurrentInvocationContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)[jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    27. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:70)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      4. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
      4 frames
    28. JBoss Application Server: EE
      BasicComponent.createInstance
      1. org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:162)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2. org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:135)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      3. org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:90)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      3 frames
    29. JBoss Application Server: EJB Subsystem
      SingletonComponent.start
      1. org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:122)[jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2. org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:137)[jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      2 frames
    30. JBoss Application Server: EE
      ComponentStartService$1.run
      1. org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)[jboss-as-ee-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
      1 frame
    31. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[rt.jar:1.7.0_21]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[rt.jar:1.7.0_21]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)[rt.jar:1.7.0_21]
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_21]
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_21]
      6. java.lang.Thread.run(Thread.java:722)[rt.jar:1.7.0_21]
      6 frames
    32. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:122)[jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]
      1 frame