Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1592

jbpm-quarkus-exmaple can not be started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.9.0
    • Kogito Tooling 0.2.10
    • Core Engine
    • None
    • Hide
      • Download latest master of kogito-examples/jbpm-quarkus-example
      • navigate to jbpm-quarkus-example
      • run: mvn clean compile quarkus:dev

      current: an exception is thrown
      expected: no exception is thrown

      Show
      Download latest master of kogito-examples/jbpm-quarkus-example navigate to jbpm-quarkus-example run: mvn clean compile quarkus:dev current: an exception is thrown expected: no exception is thrown

      The following error is thrown if user tries to start latest master of jbpm-quarkus-example. branch stable seems to work.

      2020-03-27 14:09:30,059 ERROR [io.qua.dev.DevModeMain] (main) Failed to start Quarkus: java.lang.ExceptionInInitializerError
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:398)
      	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:80)
      	at io.quarkus.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:60)
      	at io.quarkus.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:236)
      	at io.quarkus.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:39)
      	at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:131)
      	at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:84)
      	at io.quarkus.dev.DevModeMain.start(DevModeMain.java:108)
      	at io.quarkus.dev.DevModeMain.main(DevModeMain.java:47)
      Caused by: java.lang.RuntimeException: Failed to start quarkus
      	at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:384)
      	... 10 more
      Caused by: java.lang.RuntimeException: Failed to initialize Arc
      	at io.quarkus.arc.Arc.initialize(Arc.java:26)
      	at io.quarkus.arc.runtime.ArcRecorder.getContainer(ArcRecorder.java:35)
      	at io.quarkus.deployment.steps.ArcProcessor$generateResources20.deploy_0(ArcProcessor$generateResources20.zig:72)
      	at io.quarkus.deployment.steps.ArcProcessor$generateResources20.deploy(ArcProcessor$generateResources20.zig:36)
      	at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:346)
      	... 10 more
      Caused by: java.lang.Error: Unresolved compilation problems: 
      	The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
      	The import java.util cannot be resolved
      	Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
      	Random cannot be resolved to a type
      	Random cannot be resolved to a type
      	Random cannot be resolved to a type
      
      	at org.kie.kogito.examples.CalculationService.<init>(CalculationService.java:1)
      	at org.kie.kogito.examples.CalculationService_ClientProxy.<init>(CalculationService_ClientProxy.zig:36)
      	at org.kie.kogito.examples.CalculationService_Bean.<init>(CalculationService_Bean.zig:115)
      	at io.quarkus.arc.setup.Default_ComponentsProvider.addBeans1(Default_ComponentsProvider.zig:249)
      	at io.quarkus.arc.setup.Default_ComponentsProvider.getComponents(Default_ComponentsProvider.zig:38)
      	at io.quarkus.arc.impl.ArcContainerImpl.<init>(ArcContainerImpl.java:103)
      	at io.quarkus.arc.Arc.initialize(Arc.java:20)
      

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              rh-ee-jomarko Jozef Marko (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: