Exception while opening bpmn Editor After Mars.2 Update [message #1725874] |
Tue, 08 March 2016 03:20  |
Eclipse User |
|
|
|
Hello,
We are experiencing an issue wrt opening the bpmn2 visual editor for bpmn based model after update of Mars.2.
While digging further into the problem we see that if editor input resource xml is not containing the targetNamespace value then only this problem happens. Manually putting the targetNamespace into the file starts opening the editor
but this makes our old model incompatible since none of them contain this targetNamespace attributes this was not required so far.
We retest the same resource against Mars.1 updates and it's working fine, only with Mars.2 whatever updates have come into bpmn-modeler is causing the issue.
Could you please point us what can be done to avoid and fix this issue so that visual editor can be opened successfully for the models which do not contain targetNamespace by default.
Following is the exception trace which is thrown while opening the editor.
java.lang.ClassCastException: org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl cannot be cast to org.eclipse.bpmn2.Definitions
at org.eclipse.bpmn2.modeler.core.model.ModelHandler.getDefinitions(ModelHandler.java:720)
at org.eclipse.bpmn2.modeler.core.model.ModelHandler.getDefinitions(ModelHandler.java:716)
at org.eclipse.bpmn2.modeler.core.di.DIImport$1.doExecute(DIImport.java:134)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:127)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.eclipse.bpmn2.modeler.core.di.DIImport.generateFromDI(DIImport.java:129)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor.importDiagram(DefaultBPMN2Editor.java:248)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor$EditorInputHelper$1.doExecute(DefaultBPMN2Editor.java:928)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:96)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor$EditorInputHelper.importDiagram(DefaultBPMN2Editor.java:925)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor$ExtendedEditorInputHelper.importDiagram(BPMN2Editor.java:545)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor$EditorInputHelper.postSetInput(DefaultBPMN2Editor.java:917)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor$ExtendedEditorInputHelper.postSetInput(BPMN2Editor.java:536)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor.setInput(DefaultBPMN2Editor.java:213)
at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:224)
at org.eclipse.bpmn2.modeler.ui.editor.DefaultBPMN2Editor.init(DefaultBPMN2Editor.java:163)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.init(BPMN2Editor.java:97)
[Updated on: Tue, 08 March 2016 04:43] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05871 seconds