BPMN 2.1 RTF Avatar
  1. OMG Issue

BPMN21 — BPMN2 issue: Example (DI lanes and nested lanes) appears to be invalid

  • Key: BPMN21-298
  • Legacy Issue Number: 16060
  • Status: open  
  • Source: Red Hat ( Gary Brown)
  • 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

  • Reported: BPMN 2.0 — Wed, 16 Mar 2011 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT