When creating intermediateCatchEvent, such as intermediate signal catch event, bpmndi:BPMNShape id of intermediateCatchEvent is always set to 'shape_null' .
e.g.
<bpmn2:process id="case03019096.test" drools:packageName="com.example.case03019096" drools:version="1.0" drools:adHoc="false" name="test" isExecutable="true" processType="Public"> <bpmn2:intermediateCatchEvent id="_14BBCB9F-DFF1-4BA9-97A5-4EDACD4556D0"> <bpmn2:compensateEventDefinition id="_xHnhsAYTEeyUF8ahJoiudA"/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_D27A8CED-DC75-4003-ADA4-496FEC686D5B"> <bpmn2:conditionalEventDefinition id="_xHnhsQYTEeyUF8ahJoiudA"> <bpmn2:condition xsi:type="bpmn2:tFormalExpression" id="_xHnhsgYTEeyUF8ahJoiudA" language="http://www.jboss.org/drools/rule"/> </bpmn2:conditionalEventDefinition> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_8B3555FF-B886-4C3A-B33E-72F84FE4A5EE"> <bpmn2:escalationEventDefinition id="_xHnhswYTEeyUF8ahJoiudA"/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_501DAB04-B7F2-48C3-9DAD-E824842F82F7"> <bpmn2:errorEventDefinition id="_xHnhtAYTEeyUF8ahJoiudA" errorRef="_4A1A901C-AF75-4170-9D6A-1950E6B02443"/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_BD2DDB46-13B0-4828-A127-B59E29C97431"> <bpmn2:timerEventDefinition id="_xHnhtQYTEeyUF8ahJoiudA"/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_B511EB08-4272-4A2F-A414-996B9604C481"> <bpmn2:signalEventDefinition id="_xHnhtgYTEeyUF8ahJoiudA"/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_B0A5E890-3091-4DCF-9BB8-E787715CB2F1"> <bpmn2:linkEventDefinition id="_xHnhtwYTEeyUF8ahJoiudA" name=""/> </bpmn2:intermediateCatchEvent> <bpmn2:intermediateCatchEvent id="_0E046D4F-634E-40AA-8046-7799F29D0E68"> <bpmn2:messageEventDefinition id="_xHnhuAYTEeyUF8ahJoiudA"/> </bpmn2:intermediateCatchEvent> </bpmn2:process> <bpmndi:BPMNDiagram id="_xHnhuQYTEeyUF8ahJoiudA"> <bpmndi:BPMNPlane id="_xHnhugYTEeyUF8ahJoiudA" bpmnElement="case03019096.test"> <bpmndi:BPMNShape id="shape_null" bpmnElement="_0E046D4F-634E-40AA-8046-7799F29D0E68"> <dc:Bounds height="56.0" width="56.0" x="468.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_B0A5E890-3091-4DCF-9BB8-E787715CB2F1"> <dc:Bounds height="56.0" width="56.0" x="654.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_B511EB08-4272-4A2F-A414-996B9604C481"> <dc:Bounds height="56.0" width="56.0" x="569.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_BD2DDB46-13B0-4828-A127-B59E29C97431"> <dc:Bounds height="56.0" width="56.0" x="367.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_501DAB04-B7F2-48C3-9DAD-E824842F82F7"> <dc:Bounds height="56.0" width="56.0" x="747.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_8B3555FF-B886-4C3A-B33E-72F84FE4A5EE"> <dc:Bounds height="56.0" width="56.0" x="840.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_D27A8CED-DC75-4003-ADA4-496FEC686D5B"> <dc:Bounds height="56.0" width="56.0" x="1037.0" y="72.0"/> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="shape_null" bpmnElement="_14BBCB9F-DFF1-4BA9-97A5-4EDACD4556D0"> <dc:Bounds height="56.0" width="56.0" x="941.0" y="72.0"/> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram>
Due to that, if there are more than one intermediateCatchEvent in the process,
the exception org.drools.core.xml.ExtensibleXmlParser like the following happens when saving it or building it.
11:11:03,124 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 1) Node Info: id:shape_null name: Parser message: (null: 64, 93): cvc-id.2: There are multiple occurrences of ID value 'shape_null'. 11:11:03,124 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 1) Node Info: id:shape_null name: Parser message: (null: 64, 93): cvc-attribute.3: The value 'shape_null' of attribute 'id' on element 'bpmndi:BPMNShape' is not valid with respect to its type, 'ID'.
This started to happen from 7.10.0(7.48.0.Final-redhat-00004), but did not happen with 7.9.1(7.44.0.Final-redhat-00006) or before.
This also does not happen with intermediateThrowEvent.
- is cloned by
-
RHPAM-3878 ExtensibleXmlParser ERROR due to duplicate ID value 'shape_null' if there are multiple intermediateCatchEvent
- Closed
- relates to
-
JBPM-9981 Error message in log when using signal without Data Assignment
- Open