Hello,
we are trying to convert our 10.1.0 springboot applications to springboot compact architecture 10.2.0 based on the example process-compact-architecture-springboot-main.
The example works ok for both h2 and postgresql, but when we tried to add new service tasks, the compilation fails with error:
Execution default of goal org.kie.kogito:kogito-maven-plugin:10.2.0:generateModel failed: Cannot invoke "org.jbpm.bpmn2.core.ItemDefinition.getStructureRef()" because "itemDefinition" is null
When a service task is added two message entries are added in the bpmn xml:
<bpmn2:message id="_876019BC-AFD3-4135-AD86-E2521AAB2117" itemRef="Type" name="" />
<bpmn2:message id="_9794D8C3-B40C-4EA3-88D3-A169CB611F2C" itemRef="Type" name="" />but there is not an itemDefinition for them.
How can we resolve it?
Thanks,BR,
Ioanna