3 Replies Latest reply on Jul 25, 2006 11:00 AM by Chris OBrien

    Bug in process designer

    George Mournos Newbie

      The following process taken from testcase Wfp05SimpleMergeTest does not open in the latest version of the process designer.
      <?xml version="1.0" encoding="UTF-8"?>
      <process-definition>
      <start-state name="start">


      </start-state>






      </process-definition>

      Throws:
      java.lang.NullPointerException
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addTargetConnection(AbstractGraphicalEditPart.java:261)
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refreshTargetConnections(AbstractGraphicalEditPart.java:657)
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:556)
      at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212)
      at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
      at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:727)
      at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677)
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:554)
      at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
      at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212)
      at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
      at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:101)
      at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:583)
      at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:592)
      at org.jbpm.ui.editor.DesignerModelViewer.initContents(Unknown Source)
      at org.jbpm.ui.editor.DesignerModelViewer.createControl(Unknown Source)
      at org.jbpm.ui.editor.DesignerGraphicalEditorPage.addModelViewer(Unknown Source)
      at org.jbpm.ui.editor.DesignerGraphicalEditorPage.createPartControl(Unknown Source)
      at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:183)
      at org.jbpm.ui.editor.DesignerEditor.addGraphPage(Unknown Source)
      at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source)
      at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
      at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
      at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
      at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
      at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
      at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)