AnsweredAssumed Answered

nullPointerException launching compare editor in eclipse

Question asked by aoliver on Apr 4, 2013
Latest reply on Apr 10, 2013 by keymaster
I get this error when attempting to launch the compare editor in eclipse:

!ENTRY org.eclipse.jface 4 2 2013-04-04 14:54:37.556
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
   at org.activiti.designer.eclipse.editor.ActivitiDiagramMatchingStrategy.matches(ActivitiDiagramMatchingStrategy.java:20)
   at org.eclipse.ui.internal.EditorManager.findEditors(EditorManager.java:510)
   at org.eclipse.ui.internal.EditorManager.findEditors(EditorManager.java:457)
   at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:420)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2900)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2863)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2855)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2806)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2802)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2786)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2777)
   at org.eclipse.compare.internal.CompareUIPlugin$1.run(CompareUIPlugin.java:523)
   at org.eclipse.compare.internal.CompareUIPlugin.syncExec(CompareUIPlugin.java:1265)
   at org.eclipse.compare.internal.CompareUIPlugin.internalOpenEditor(CompareUIPlugin.java:534)
   at org.eclipse.compare.internal.CompareUIPlugin.openEditorInBackground(CompareUIPlugin.java:504)
   at org.eclipse.compare.internal.CompareUIPlugin.openCompareEditor(CompareUIPlugin.java:493)
   at org.eclipse.compare.CompareUI.openCompareEditorOnPage(CompareUI.java:168)
   at org.eclipse.compare.CompareUI.openCompareEditorOnPage(CompareUI.java:149)
   at org.eclipse.team.internal.ui.synchronize.actions.OpenInCompareAction.openCompareEditor(OpenInCompareAction.java:223)
   at org.eclipse.team.internal.ui.synchronize.actions.OpenInCompareAction.openCompareEditor(OpenInCompareAction.java:181)
   at org.eclipse.team.internal.ui.synchronize.actions.OpenInCompareAction.openCompareEditorOnSyncInfo(OpenInCompareAction.java:161)
   at org.eclipse.team.internal.ui.synchronize.actions.OpenInCompareAction.run(OpenInCompareAction.java:65)
   at org.eclipse.team.internal.ui.synchronize.actions.OpenWithActionGroup.openInCompareEditor(OpenWithActionGroup.java:189)
   at org.eclipse.team.internal.ui.synchronize.actions.DefaultSynchronizePageActions$1.run(DefaultSynchronizePageActions.java:47)
   at org.eclipse.team.internal.ui.synchronize.StructuredViewerAdvisor.handleOpen(StructuredViewerAdvisor.java:189)
   at org.eclipse.team.internal.ui.synchronize.StructuredViewerAdvisor.access$0(StructuredViewerAdvisor.java:185)
   at org.eclipse.team.internal.ui.synchronize.StructuredViewerAdvisor$3.open(StructuredViewerAdvisor.java:146)
   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: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(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   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)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1414)


I am running eclipse 3.7.2 in SpringSource Tool Suite 2.9.2 with Activit Eclipse BPMN 2.0 Designer 5.12.0.

I also tried on STS 3.2 using eclipse 3.8.1 with activiti designer 5.12.0 and received same error.

Is there some configuration change i need to make for activiti designer 5.12.0?

thanks in advance for your help,
awo

Outcomes