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

Multiple Instance Sub-Proces

XMLWordPrintable

    • 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15)

      A simple process with a multi-instance sub-process fails to compile with the following error:

      ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.12.0.Final:build (default) on project kogito-piece: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [ERROR] [error]: Build step org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor#generateModel threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Error while elaborating process id = "MyProcess", packageName = "com.xxx": null
      [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.generate(ProcessCodegen.java:248)
      [ERROR] at org.kie.kogito.codegen.ApplicationGenerator.lambda$generateComponents$1(ApplicationGenerator.java:83)
      [ERROR] at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
      [ERROR] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      [ERROR] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      [ERROR] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      [ERROR] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      [ERROR] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [ERROR] at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
      [ERROR] at org.kie.kogito.codegen.ApplicationGenerator.generateComponents(ApplicationGenerator.java:84)
      [ERROR] at org.kie.kogito.codegen.ApplicationGenerator.generate(ApplicationGenerator.java:66)
      [ERROR] at org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.generateModel(KogitoAssetsProcessor.java:147)
      [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:920)
      [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
      [ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
      [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:501)
      [ERROR] Caused by: java.lang.NullPointerException
      [ERROR] at org.jbpm.compiler.canonical.ForEachNodeVisitor.visitNode(ForEachNodeVisitor.java:72)
      [ERROR] at org.jbpm.compiler.canonical.ForEachNodeVisitor.visitNode(ForEachNodeVisitor.java:40)
      [ERROR] at org.jbpm.compiler.canonical.AbstractNodeVisitor.visitNode(AbstractNodeVisitor.java:63)
      [ERROR] at org.jbpm.compiler.canonical.ProcessVisitor.visitNodes(ProcessVisitor.java:234)
      [ERROR] at org.jbpm.compiler.canonical.ProcessVisitor.visitProcess(ProcessVisitor.java:158)
      [ERROR] at org.jbpm.compiler.canonical.ProcessToExecModelGenerator.generate(ProcessToExecModelGenerator.java:91)
      [ERROR] at org.kie.kogito.codegen.process.ProcessExecutableModelGenerator.generate(ProcessExecutableModelGenerator.java:43)
      [ERROR] at org.kie.kogito.codegen.process.ProcessCodegen.generate(ProcessCodegen.java:240)
      [ERROR] ... 21 more

              tdolphin-1 Tiago Dolphine (Inactive)
              navitect Adrian Apthorp (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: