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

Duplicate class WorkItemHandlerNotFoundException in classpath causes native-image to break

XMLWordPrintable

    • 3
    • Hide

      $ mvn archetype:generate -B -DarchetypeGroupId=org.kie.kogito -DarchetypeArtifactId=kogito-quarkus-archetype -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.company -DartifactId=project -Dversion=1.0-SNAPSHOT

      $ cd project

      $ mvn clean package -Pnative -DskipTests

      output:

      [INFO] --- quarkus-maven-plugin:1.6.0.Final:native-image (default) @ project ---
      [ERROR] Node Info: id: name: 
      Parser message: (null: 1, 451): cvc-elt.1.a: Cannot find the declaration of element 'bpmn2:definitions'.
      [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/evacchi/Devel/redhat/pr/submarine/submarine-examples/scratch/project/target/project-1.0-SNAPSHOT-native-image-source-jar/project-1.0-SNAPSHOT-runner.jar
      [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/evacchi/Devel/redhat/pr/submarine/submarine-examples/scratch/project/target/project-1.0-SNAPSHOT-native-image-source-jar/project-1.0-SNAPSHOT-runner.jar
      [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 20.1.0 (Java Version 11.0.7)
      [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] /home/evacchi/.jabba/jdk/graalvm-ce-java11@20.1.0/bin/native-image -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=en -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -H:+JNI -jar project-1.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:-IncludeAllTimeZones -H:EnableURLProtocols=http -H:NativeLinkerOption=-no-pie --no-server -H:-UseServiceLoaderFeature -H:+StackTrace project-1.0-SNAPSHOT-runner
      -H:IncludeAllTimeZones and -H:IncludeTimeZones are now deprecated. Native-image includes all timezonesby default.
      [project-1.0-SNAPSHOT-runner:205587]    classlist:  18,042.43 ms,  1.17 GB
      [project-1.0-SNAPSHOT-runner:205587]        (cap):     955.00 ms,  1.17 GB
      [project-1.0-SNAPSHOT-runner:205587]        setup:   3,163.78 ms,  1.17 GB
      18:36:42,294 INFO  [org.jbo.threads] JBoss Threads version 3.1.1.Final
      [project-1.0-SNAPSHOT-runner:205587]     (clinit):   1,321.93 ms,  5.50 GB
      [project-1.0-SNAPSHOT-runner:205587]   (typeflow):  47,689.95 ms,  5.50 GB
      [project-1.0-SNAPSHOT-runner:205587]    (objects):  41,459.82 ms,  5.50 GB
      [project-1.0-SNAPSHOT-runner:205587]   (features):   1,351.53 ms,  5.50 GB
      [project-1.0-SNAPSHOT-runner:205587]     analysis:  96,866.22 ms,  5.50 GB
      Error: Unsupported features in 4 methods
      Detailed message:
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(String): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388)
      	at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(String, Transition): 
      	at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161)
      	at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      
      com.oracle.svm.core.util.UserError$UserException: Unsupported features in 4 methods
      Detailed message:
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(String): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388)
      	at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(String, Transition): 
      	at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161)
      	at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      
      	at com.oracle.svm.core.util.UserError.abort(UserError.java:79)
      	at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217)
      	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:753)
      	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:538)
      	at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:451)
      	at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
      Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 4 methods
      Detailed message:
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(String): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388)
      	at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166)
      	at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): 
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124)
      	at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang.String). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
      Trace: 
      	at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182)
      Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(String, Transition): 
      	at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161)
      	at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638)
      	at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431)
      	at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152)
      	at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190)
      	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143)
      	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345)
      	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0)
      
      	at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
      	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:750)
      	... 8 more
      Error: Image build request failed with exit status 1
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  02:25 min
      [INFO] Finished at: 2020-08-05T18:37:51+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.6.0.Final:native-image (default) on project project: Failed to generate native image: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [ERROR] 	[error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.RuntimeException: Failed to build native image
      [ERROR] 	at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:366)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR] 	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:932)
      [ERROR] 	at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
      [ERROR] 	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      [ERROR] 	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
      [ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
      [ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
      [ERROR] 	at java.base/java.lang.Thread.run(Thread.java:834)
      [ERROR] 	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
      [ERROR] Caused by: java.lang.RuntimeException: Image generation failed. Exit code: 1
      [ERROR] 	at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.imageGenerationFailed(NativeImageBuildStep.java:416)
      [ERROR] 	at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:344)
      [ERROR] 	... 12 more
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      
      Show
      $ mvn archetype:generate -B -DarchetypeGroupId=org.kie.kogito -DarchetypeArtifactId=kogito-quarkus-archetype -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.company -DartifactId=project -Dversion=1.0-SNAPSHOT $ cd project $ mvn clean package -Pnative -DskipTests output: [INFO] --- quarkus-maven-plugin:1.6.0.Final: native -image ( default ) @ project --- [ERROR] Node Info: id: name: Parser message: ( null : 1, 451): cvc-elt.1.a: Cannot find the declaration of element 'bpmn2:definitions' . [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/evacchi/Devel/redhat/pr/submarine/submarine-examples/scratch/project/target/project-1.0-SNAPSHOT- native -image-source-jar/project-1.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/evacchi/Devel/redhat/pr/submarine/submarine-examples/scratch/project/target/project-1.0-SNAPSHOT- native -image-source-jar/project-1.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native -image plugin on GraalVM Version 20.1.0 (Java Version 11.0.7) [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] /home/evacchi/.jabba/jdk/graalvm-ce-java11@20.1.0/bin/ native -image -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dvertx.logger-delegate-factory- class- name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver= true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=en -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -H:+JNI -jar project-1.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:-IncludeAllTimeZones -H:EnableURLProtocols=http -H:NativeLinkerOption=-no-pie --no-server -H:-UseServiceLoaderFeature -H:+StackTrace project-1.0-SNAPSHOT-runner -H:IncludeAllTimeZones and -H:IncludeTimeZones are now deprecated. Native-image includes all timezonesby default . [project-1.0-SNAPSHOT-runner:205587] classlist: 18,042.43 ms, 1.17 GB [project-1.0-SNAPSHOT-runner:205587] (cap): 955.00 ms, 1.17 GB [project-1.0-SNAPSHOT-runner:205587] setup: 3,163.78 ms, 1.17 GB 18:36:42,294 INFO [org.jbo.threads] JBoss Threads version 3.1.1.Final [project-1.0-SNAPSHOT-runner:205587] (clinit): 1,321.93 ms, 5.50 GB [project-1.0-SNAPSHOT-runner:205587] (typeflow): 47,689.95 ms, 5.50 GB [project-1.0-SNAPSHOT-runner:205587] (objects): 41,459.82 ms, 5.50 GB [project-1.0-SNAPSHOT-runner:205587] (features): 1,351.53 ms, 5.50 GB [project-1.0-SNAPSHOT-runner:205587] analysis: 96,866.22 ms, 5.50 GB Error: Unsupported features in 4 methods Detailed message: Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem( String ): at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388) at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem( String , Transition): at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161) at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) com.oracle.svm.core.util.UserError$UserException: Unsupported features in 4 methods Detailed message: Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem( String ): at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388) at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem( String , Transition): at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161) at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) at com.oracle.svm.core.util.UserError.abort(UserError.java:79) at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217) at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:753) at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:538) at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:451) at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 4 methods Detailed message: Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:107) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem( String ): at org.jbpm.process.instance.LightWorkItemManager.internalAbortWorkItem(LightWorkItemManager.java:90) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:388) at org.jbpm.workflow.instance.node.FaultNodeInstance.internalTrigger(FaultNodeInstance.java:73) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:82) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.internalExecuteWorkItem(LightWorkItemManager.java:71) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:166) at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:204) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:629) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:133) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(KogitoWorkItem): at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:129) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItemWithParams(LightWorkItemManager.java:124) at org.jbpm.process.instance.LightWorkItemManager.retryWorkItem(LightWorkItemManager.java:284) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:635) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.drools.core.WorkItemHandlerNotFoundException.<init>(java.lang. String ). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time. Trace: at parsing org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:182) Call path from entry point to org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem( String , Transition): at org.jbpm.process.instance.LightWorkItemManager.transitionWorkItem(LightWorkItemManager.java:161) at org.jbpm.process.instance.LightWorkItemManager.completeWorkItem(LightWorkItemManager.java:142) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.exceptionHandlingCompleted(WorkItemNodeInstance.java:638) at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:431) at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:586) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer.lambda$run$0(InMemoryJobService.java:152) at org.kie.services.jobs.impl.InMemoryJobService$SignalProcessInstanceOnExpiredTimer$$Lambda$839/0x00000007c1e13840.get(Unknown Source) at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:190) at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:143) at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:345) at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_ARRAY:Ljava_lang_System_2_0002egetProperty_00028Ljava_lang_String_2_00029Ljava_lang_String_2(generated:0) at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129) at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:750) ... 8 more Error: Image build request failed with exit status 1 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:25 min [INFO] Finished at: 2020-08-05T18:37:51+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.6.0.Final: native -image ( default ) on project project: Failed to generate native image: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [ERROR] [error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.RuntimeException: Failed to build native image [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:366) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:932) [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277) [ERROR] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [ERROR] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452) [ERROR] at java.base/java.lang. Thread .run( Thread .java:834) [ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:479) [ERROR] Caused by: java.lang.RuntimeException: Image generation failed. Exit code: 1 [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.imageGenerationFailed(NativeImageBuildStep.java:416) [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:344) [ERROR] ... 12 more [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch . [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    • 2020 Week 31-33 (from Jul 27)

            evacchi Edoardo Vacchi (Inactive)
            tradisso@redhat.com Tristan Radisson
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: