Bug 1012045 - Copy & paste of multiple elements in BPMN2 modeler ends in broken bpmn2 definition (engine parser throws NPE)
Summary: Copy & paste of multiple elements in BPMN2 modeler ends in broken bpmn2 defin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Eclipse Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.0.0
Assignee: Robert (Bob) Brodt
QA Contact: Jiri Svitak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-25 15:27 UTC by Jiri Svitak
Modified: 2015-06-02 01:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:12:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
test (13.11 KB, text/plain)
2013-09-25 15:27 UTC, Jiri Svitak
no flags Details
ParallelGatewayTenTimes.bpmn2 (47.33 KB, text/plain)
2013-09-25 15:29 UTC, Jiri Svitak
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.