Bug 1012045

Summary: Copy & paste of multiple elements in BPMN2 modeler ends in broken bpmn2 definition (engine parser throws NPE)
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: Eclipse ToolingAssignee: Robert (Bob) Brodt <bbrodt>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: bbrodt, kverlaen, mbaluch
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:12:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test
none
ParallelGatewayTenTimes.bpmn2 none

Description Jiri Svitak 2013-09-25 15:27:43 UTC
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.

Comment 1 Jiri Svitak 2013-09-25 15:29:54 UTC
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'.

Comment 2 Kris Verlaenen 2013-09-26 12:28:15 UTC
Bob, it seems a lot of sequence flows without sourceRef and/or targetRef are generated in the BPMN2 XML.

Comment 3 Jiri Svitak 2013-11-12 12:56:48 UTC
Verified in BPMN2 Editor 1.0.0.201311042148, JBDS 7.0.1.GA (Build id: GA-v20130930-2238-B7).

Comment 4 Lukáš Petrovický 2014-02-07 16:15:55 UTC
This BZ has been part of the 6.0.0 stream.