Skip to main content

Opening a BPMN diagram gives the "Could not open the editor..." error


Technote (troubleshooting)


Problem(Abstract)

In IBM Rational Software Architect, if you try to open a BPMN diagram, the "Could not open the editor: An unexpected exception was thrown" error message appears.

Symptom

Double-click the .bpmx model from the Project Explorer in order to open the BPMN diagram. The Could not open the editor: An unexpected exception was thrown error will appear as in the screenshot:


The following output is generated in the .log file:

!MESSAGE Unable to create editor ID com.ibm.xtools.bpmn2.ui.diagram.internal.part.Bpmn2DiagramEditorID: An unexpected exception was thrown.

!STACK 0

java.lang.NullPointerException

at org.eclipse.gmf.runtime.diagram.ui.services.editpart.EditPartService.createEditPart(Unknown Source)

at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(Unknown Source)

at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewerContents(Unknown Source)

at com.ibm.xtools.bpmn2.modeler.ui.internal.editor.CustomBpmn2DiagramEditorWithHeader.initializeGraphicalViewerContents(Unknown Source)

at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewer(Unknown Source)...



It is not possible to open the BPMN diagram.

Cause

You modified a model that had dependencies on another model, which means that your changes to the first model caused the second one to change as well.


However, although you saved the changes to the first model and then closed it, you did not save the changes to the second model, before you closed it.

As a result, the two models are no longer synchronized with each other and there are broken references that cause the second BPMN model to be corrupted.


Resolving the problem

WORKAROUND

Load the BPMN model that throws the error into a new workspace in order to recover the diagram.

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational Software Architect for WebSphere Software Modeling Windows 8.5

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Software Architect

Modeling


Software version:
8.5


Operating system(s):
Windows


Reference #:
1622787


Modified date:
2013-01-18

Translate my page

Content navigation