Issue 16060: BPMN2 issue: Example (DI lanes and nested lanes) appears to be invalid (bpmn2-rtf) Source: Red Hat (Mr. Gary Brown, gbrown(at)redhat.com) Nature: Uncategorized Issue Severity: Summary: When opening the example http://www.omg.org/spec/BPMN/2.0/examples/ZIP/Diagram%20Interchange/Examples%20-%20DI%20-%20Lanes%20and%20Nested%20Lanes.bpmn throws an exception[1]. This happens because it tries to assign org.eclipse.bpmn2.impl.DataObjectReferenceImpl object to an array of FlowNodes. org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Value 'org.eclipse.bpmn2.impl.DataObjectReferenceImpl@6caf4065 (id: DataObject_Document, anyAttribute: null) (name: Document)' is not legal. (platform:/resource/Dev/Examples%20-%20DI%20-%20Lanes%20and%20Nested%20Lanes.bpmn2, -1, -1) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1282) ... Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.bpmn2.impl.DataObjectReferenceImpl@6caf4065 (id: DataObject_Document, anyAttribute: null) (name: Document)' is not legal. (platform:/resource/Dev/Examples%20-%20DI%20-%20Lanes%20and%20Nested%20Lanes.bpmn2, -1, -1) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2663) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardReferences(XMLHandler.java:1149) ... Caused by: java.lang.ArrayStoreException: org.eclipse.bpmn2.impl.DataObjectReferenceImpl at org.eclipse.emf.common.util.BasicEList.assign(BasicEList.java:124) at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:424) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:331) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:315) at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHelperImpl.java:1179) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2658) ... 99 more Resolution: Revised Text: Actions taken: March 16, 2011: received issue Discussion: End of Annotations:===== te: Wed, 16 Mar 2011 06:51:21 -0400 (EDT) From: Gary Brown To: issues@omg.org Subject: BPMN2 issue: Example (DI lanes and nested lanes) appears to be invalid X-Originating-IP: [10.5.5.71] X-Mailer: Zimbra 6.0.9_GA_2686 (ZimbraWebClient - FF3.0 (Linux)/6.0.9_GA_2686) The details can be found here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=340055 Example can be found here: http://www.omg.org/spec/BPMN/2.0/examples/ZIP/Diagram%20Interchange/Examples%20-%20DI%20-%20Lanes%20and%20Nested%20Lanes.bpmn Regards Gary