[jboss-user] [jBPM] - Open of saved BPMN2 file fails in Eclipse
Jim Morris
do-not-reply at jboss.com
Wed May 2 17:55:27 EDT 2012
Jim Morris [https://community.jboss.org/people/jimmorris] created the discussion
"Open of saved BPMN2 file fails in Eclipse"
To view the discussion, visit: https://community.jboss.org/message/733464#733464
--------------------------------------------------------------
Hi, I'm trying to evalute using jBPM as an embedded component for our application.
Using the 5.2 demo download I created a process in Eclipse that was originally in web designer. Web designer was way too slow for real work. Twice now I can't re-open the file after shutting down and restarting Eclipse (via Ant start.demo)
I validated before saving, although that shouldn't be required. First I get a message like "unknown gateway direction". I manually edit the XML and add gatewayDirection="Diverging" to the <bpmn2:exclusiveGateway> tag missing the direction then I get error: "Could not open the editor: Unknown model object null"
Details:
java.lang.IllegalArgumentException: Unknown model object null
at org.drools.eclipse.flow.ruleflow.editor.editpart.RuleFlowEditPartFactory.createEditPart(RuleFlowEditPartFactory.java:94)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
at org.drools.eclipse.flow.common.editor.GenericModelEditor.initializeGraphicalViewer(GenericModelEditor.java:175)
at org.eclipse.gef.ui.parts.GraphicalEditor.createGraphicalViewer(GraphicalEditor.java:158)
at org.eclipse.gef.ui.parts.GraphicalEditorWithPalette.createPartControl(GraphicalEditorWithPalette.java:63)
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:2863)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
...
Any fix for this type of error.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/733464#733464]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120502/332ec4a8/attachment.html
More information about the jboss-user
mailing list