Issue
If you are using Workbench 8.2.1 to import a process XML, you may encounter the following error:
java.lang.NullPointerException at com.adobe.workflow.eclipse.editors.WorkflowEditor.createPartControl(WorkflowEditor.java:610) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:183) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:153) at com.adobe.workflow.eclipse.editors.WorkflowMultiPageEditor.createMainBranchPage(WorkflowMultiPageEditor.java:739) at com.adobe.workflow.eclipse.editors.WorkflowMultiPageEditor.createMainBranchPage(WorkflowMultiPageEditor.java:687) at com.adobe.workflow.eclipse.editors.WorkflowMultiPageEditor.createPages(WorkflowMultiPageEditor.java:225) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
Reason
This error occurs when the process XML is corrupted, and in particular, when there are negative coordinates in the positioning of objects. Each object on a process/orchestration map has x- and y-coordinates to position it on the canvas. These coordinates must be positive values to appear on the canvas. If any of these values are negative, then the object is positioned off the canvas and isn’t editable in Workbench.
This issue has been fixed in later versions of Workbench.
Solution
There is a patch for Workbench 8.2.1.2 that produces a better error message to show the user exactly what objects have issues in the process XML. You can then edit the process XML in a text editor and replace the negative value (for example, =”-12″) with a positive value (for example, =”12″). This edit allows the process to be imported without errors.
reference: (181599834/2630027)
