Created attachment 802922 [details] test Copy & paste of multiple elements in BPMN2 modeler ends in broken bpmn2 definition. Engine throws NPE, see the attached test log. To reproduce problem, use the attached corrupted process definition. It is a large process definition. It was created using several copy&pastes of 'parallel gateway blocks'. I think that editor should never save broken process definition files.
Created attachment 802924 [details] ParallelGatewayTenTimes.bpmn2 Attaching corrupted .bpmn2 file created by BPMN2 eclipse modeler. I forgot to mention that I used BPMN2 Editor of version 0.2.7.201309242242, target runtime 'jbpm5'.
Bob, it seems a lot of sequence flows without sourceRef and/or targetRef are generated in the BPMN2 XML.
Verified in BPMN2 Editor 1.0.0.201311042148, JBDS 7.0.1.GA (Build id: GA-v20130930-2238-B7).
This BZ has been part of the 6.0.0 stream.