Troubleshooting
Problem
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.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
10 September 2020
UID
swg21622787