Error opening workflow editor in Knime 2.8.1

Dear Knime users,

I am using 64 bit CentOS 6.4 . I updated my Knime 2.7.1 to 2.8.1 recently and I get the following error in the workflow editor:

 

Could not open the editor: An exception was thrown during initialization

java.lang.NullPointerException
    at org.knime.workbench.editor2.WorkflowEditor.setInput(WorkflowEditor.java:800)
    at org.knime.workbench.editor2.WorkflowEditor.init(WorkflowEditor.java:368)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
    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:313)
    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:2942)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2756)
    at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1155)
    at org.knime.workbench.ui.navigator.KnimeResourceNavigator.handleOpen(KnimeResourceNavigator.java:457)
    at org.knime.workbench.ui.navigator.KnimeResourceNavigator$3$1.run(KnimeResourceNavigator.java:290)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
    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.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:128)
    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:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
 

 

This error is not only for the new workflow editors but also the existing ones. So, I tried to install Knime 2.8.0 and 2.8.1, but it again gave me the same error. I could work with 2.7.x versions again, but I am having a hard time re-installing nodes because of conflicting dependancies or the 2.8 nodes are not compatible (any solution for this, btw?).

Anyone else came across this problem? If yes, any clue how to solve it?

Best regards

Rohit

 

 

Hi Rohit,

We do use some linux here in house, and I just tried to reproduce this problem on a CentOS system but to no avail.  Can you provide some more details, perhaps regarding how you installed KNIME and then also how you updated it? 

 

Hello Aaron,

I install knime usually by the normal method - downloading the compressed file, uncompress it and run the executable.

For the update from 2.7.1 to 2.8.1, I simply clicked on Help>Check for updates. I am having this problem only with 2.8.x.

Maybe for now I could work with 2.7.x because that version seems to be working fine. Is their any way that when I install new nodes, I can somehow ignore the nodes compatible with 2.8.x version? Because it always gives me conflicting dependencies error.

 

Thanks

Best regards

Rohit

Are the workflows you are trying to open also visible in the KNIME Explorer under the Local Workspace? It may be an issue with linked workflows that are outside the local workspace.

Hello thor,

Yes, all the workflows are clearly visible. Things have changed a bit since my last post:

1) Upon restarting (accidental I may add!) of my system, the 2.7.1 -> 2.8.1 works, but as for installing new nodes (for example Marvin Chemistry nodes), I do not see them in my node repository but when I want to install the nodes from any update site, it tells me that all the nodes are already installed.

2) When I installed a fresh version of 2.8.1, I tried to open a new workflow (nothing was open before) and I am unable to do that. No matter how many times I click 'next', it doesn't go any further.

Appreciate all the help you guys can provide.

Thanks

Best

Rohit

As for point #2 from my last post, the workflow opens now, but with the same error as mentioned in my initial post.

Are you using the old "Workflow projects" view or the new "KNIME Explorer"?

I have tried both, they end up with the same error. (In the new Knime 2.8.1 install)

In the Knime 2.7.1 -> 2.8.1 version, where I lost some nodes , the workflow projects are opening but corresponding nodes are not there and when I try to install those nodes it tells me they are already installed. Is there a reason why Knime is telling me the nodes are already installed, when they are not?

Also, is there a way to avoid 'conflicting dependencies' if I install 2.7.1 (as 2.7 version seems to be working fine for me) because all the sources point to 2.8 version nodes? Is there a way to install nodes corresponding only to the 2.7 version?

Thanks

Rohit

If an extension is installed and the nodes are not showing up, then something is really wrong with your installation. Can you send me (per mail to thorsten.meinl@knime.com if you like) the following log files: <workspace>/.metadata/.log and <workspace>/.metadata/knime/knime.log.

Usually it is not possible to install new nodes into an older KNIME version because they use functionality that is not available in the previous version. If you want to install nodes into you 2.7 and it grabs the 2.8 versions then use the following update site URL: http://www.knime.org/update/2.7/fixed.