Is latest BPMN2 Modeler compatible with Eclipse 3.8?? [message #895653] |
Sat, 14 July 2012 06:17 |
Mohammed Razak Messages: 3 Registered: July 2012 |
Junior Member |
|
|
I am trying to use latest BPMN2 modeler in Eclipse 3.8 but was unable to create or open any Bpmn2 diagram file.
Steps to reproduce:
1.Download Eclipse 3.8
2.Update the eclipse with latest BPMN2 modeler - http://download.eclipse.org/bpmn2-modeler/site/
Note:This will get Graphiti plugins of 0.9 version
3.Create bpmn2 diagram file and press Finish button in the 'BPMN2 Diagram File' wizard
Error dialog with message 'org/eclipse/bpmn2/modeler/ui/wizards/FileService$MyDiagramEditorFactory' gets displayed.
4.Copy any existing bpmn2 diagram file and open it with 'BPMN2 Diagram Editor'
NoClassDefFoundError is thrown
Stack trace:
java.lang.NoClassDefFoundError: org/eclipse/bpmn2/modeler/ui/wizards/FileService$MyDiagramEditorFactory
at org.eclipse.bpmn2.modeler.ui.wizards.FileService.createEmfFileForDiagram(FileService.java:66)
at org.eclipse.bpmn2.modeler.ui.wizards.BPMN2DiagramCreator.createDiagram(BPMN2DiagramCreator.java:60)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.createNewDiagramEditorInput(BPMN2Editor.java:253)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor.init(BPMN2Editor.java:169)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:237)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.createDesignEditor(BPMN2MultiPageEditor.java:244)
at org.eclipse.bpmn2.modeler.ui.editor.BPMN2MultiPageEditor.createPages(BPMN2MultiPageEditor.java:232)
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.PartPane.setVisible(PartPane.java:315)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2946)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2854)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2846)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2797)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2793)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2777)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)
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:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
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:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Did any one face similar kind of issue ?
Is latest BPMN2 modeler compatible with Eclipse 3.8 and Graphiti 0.9??
Best Regards,
Razak
[Updated on: Mon, 16 July 2012 10:45] Report message to a moderator
|
|
|
Re: Is latest BPMN2 Modeler compatible with Eclipse 3.8?? [message #895906 is a reply to message #895653] |
Mon, 16 July 2012 13:19 |
|
Hi Mohammed,
We're still working on migrating the editor from Graphiti 0.8.2 to 0.9.0 because there were some breaking API changes. I'm not sure if there are backward-incompatibilities with other plugins, but you may want to try an install Graphiti 0.8.2 first and then install the editor. Please let me know if that works.
Bob
|
|
|
|
Re: Is latest BPMN2 Modeler compatible with Eclipse 3.8?? [message #896155 is a reply to message #896048] |
Tue, 17 July 2012 12:33 |
|
Actually, the code changes are complete (as far as I can tell ) I just need to do some more testing to make sure nothing is broken. This should be available for this week's build (scheduled for this Friday, July 20) or earlier.
I'll post a status update to this forum once I'm satisfied there are no issues with the migration.
Bob
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Is latest BPMN2 Modeler compatible with Eclipse 3.8?? [message #915147 is a reply to message #913015] |
Sun, 16 September 2012 16:19 |
|
Antonio,
Sorry, I misunderstood what you were trying to do. The BPMN2 wizard category has two entries: BPMN2 Diagram and BPMN2 Model - I now realize that you had selected the second one (Model). This entry actually invokes the model creation wizard from the MDT/BPMN2 metamodel project (here: http://www.eclipse.org/modeling/mdt/?project=bpmn2). This wizard just creates an empty XML document with a <definitions> element and nothing else. Once the wizard is completed, it invokes the default editor associated with bpmn2 content type. Normally, this would be the tree-oriented editor that is generated by EMF for a model but, since the the BPMN2 Modeler is registered as the editor for this content, it is invoked instead. Apparently the BPMN2 Modeler can't handle empty bpmn2 documents
I have created a bugzilla for this, here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=389677
We should have a fix for this by the time the RC1 build becomes available.
Thanks for finding this!
Bob
|
|
|
Powered by
FUDForum. Page generated in 0.03136 seconds