Kogito 10.2.0 - Service task problem

11 views
Skip to first unread message

Ioanna Bekiari

unread,
Jul 9, 2026, 6:28:05 AM (13 days ago) Jul 9
to Kogito development mailing list
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
Reply all
Reply to author
Forward
0 new messages