[CAM-257] Modell lässz sich nicht öffnen: " Unhandled exception during import" / NPE Created: 25/Oct/12 Updated: 18/Apr/13 Status: Project: Component/s: Affects Version/s: Fix Version/s: Reopened camunda BPM camunda modeler eclipse plugin None Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Bug Report Bernd Rücker Unresolved None 0 minutes Attachments: Issue Links: None Priority: Assignee: Votes: L3 - Default Unassigned 0 Not Specified 0 minutes CC-Akquise_Kopie_Abbruch mit Subprozess.bpmn Related Description AT: der Benutzer erhält eine Fehlermeldung, die auf falsches XML hindeutet (qualifiziert) Der Prozess enthält auf Grund eines Signavio Export Bugs leider <intermediateCatchEvent> definitions mit erro Dieser Issue hier soll die Fehlermeldung korrigieren. org.eclipse.bpmn2.modeler.core.importer.ImportException: Unhandled exception during import at org.eclipse.bpmn2.modeler.core.importer.ModelImportCommand.doExecute(ModelImportCommand.java:48) at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135) at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStac at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalComma at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.importDiagram(BPMN2Editor.java:569) at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.access$0(BPMN2Editor.java:548) at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor$1.doExecute(BPMN2Editor.java:539) 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:513) at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.j at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalComma at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStac at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalComma at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.setInput(BPMN2Editor.java:535) at org.eclipse.bpmn2.modeler.ui.editor.DesignEditor.setInput(DesignEditor.java:89) at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:446) at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.init(BPMN2Editor.java:389) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:237) at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.addPage(BPMN2MultiPageEditor.java:312) at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.createDesignEditor(BPMN2MultiPageEditor.ja at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.createPages(BPMN2MultiPageEditor.java:161) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGro at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48 at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Caused by: java.lang.NullPointerException at org.eclipse.graphiti.features.impl.AbstractFeatureProvider.createOrGetPictogramLink(AbstractFeatureProvide at org.eclipse.graphiti.features.impl.AbstractFeatureProvider.link(AbstractFeatureProvider.java:615) at org.eclipse.graphiti.features.impl.AbstractFeature.link(AbstractFeature.java:240) at org.eclipse.graphiti.features.impl.AbstractFeature.link(AbstractFeature.java:213) at org.eclipse.bpmn2.modeler.core.features.event.definitions.AbstractAddEventDefinitionFeature.draw(AbstractAd at org.eclipse.bpmn2.modeler.core.features.event.definitions.AbstractAddEventDefinitionFeature.add(AbstractAdd at org.eclipse.graphiti.features.impl.AbstractAddFeature.execute(AbstractAddFeature.java:72) at org.eclipse.bpmn2.modeler.core.importer.handlers.EventShapeHandler.handleShape(EventShapeHandler.java at org.eclipse.bpmn2.modeler.core.importer.handlers.EventShapeHandler.handleShape(EventShapeHandler.java at org.eclipse.bpmn2.modeler.core.importer.handlers.AbstractShapeHandler.handleDiagramElement(AbstractSh at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleDiagramElement(ModelImport.java:643) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleEvent(ModelImport.java:624) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleFlowElements(ModelImport.java:564) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleSubProcess(ModelImport.java:600) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleFlowElements(ModelImport.java:555) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleLane(ModelImport.java:453) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleLaneSet(ModelImport.java:436) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleExpandedParticipant(ModelImport.java:356) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleParticipant(ModelImport.java:334) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleCollaboration(ModelImport.java:302) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleDefinitions(ModelImport.java:201) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.handleDocumentRoot(ModelImport.java:152) at org.eclipse.bpmn2.modeler.core.importer.ModelImport.execute(ModelImport.java:137) at org.eclipse.bpmn2.modeler.core.importer.ModelImportCommand.doExecute(ModelImportCommand.java:44) ... 80 more Comments Comment by Andreas Drobisch [ 31/Oct/12 ] Ist ein Export Problem im Signavio, boundary error events werden als intermediate catch exportiert. Comment by Bernd Rücker [ 31/Oct/12 ] Korrekt - das steht so auch um Issue. Aber sollte dann nicht ein entsprechender Fehler kommen statt einem "Unhandled exception during import"? Comment by Robert Gimbel [ 02/Apr/13 ] still can reproduce... damm Generated at Thu Apr 06 13:08:08 CEST 2017 using JIRA 6.4.6#64021sha1:33e5b454af4594f54560ac233c30a6e00459507e.