null pointer exception when building a process with multi-instance subprocess and listening to Kafka events

132 views
Skip to first unread message

Maurizio Carioli

unread,
Jul 7, 2021, 10:32:26 AM7/7/21
to Kogito development mailing list
Experts,

I seem to be in a similar situation as described in https://groups.google.com/g/kogito-development/c/gWoYtTbxlRg.

I have a process (Trigger) started by a Kafka message (RH PAM 7.11.0) and with a multi-instance subprocess (in turn calling another process, Action).

This process executes just fine in EAP.

The error is the same as in the referenced post:

[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.0.1.Final:build (default) on project PHM-Processes-Kogito: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR]         [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateModel threw an exception: org.kie.kogito.codegen.process.ProcessCodegenException: Error while elaborating process id = "PHM-Processes.Trigger", packageName = "com.health_insurance.phm_processes": null
[ERROR]         at org.kie.kogito.codegen.process.ProcessCodegen.generate(ProcessCodegen.java:297)
[ERROR]         at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$0(ApplicationGenerator.java:90)

Changing the file extension to bpmn2 and making the process ad hoc has not helped.


Regards,
Reply all
Reply to author
Forward
0 new messages