UI errors in v3.7.2 after downgrade from v4

#1

Hello,

I had to do some tests with KNIME analytics platform v4 on my local machine, but at this moment I cannot update to v4 because we need to work also with a KNIME Server that hasnt been updated.

So after doing these tests, I had to downgrade again to 3.7.2, and now I have some problems with my 3.7.2 installation. The most strange bug is related with saving a metanode as template. I have done this operation hundreds of times, but now, when this window appears:

OK and Cancel buttons dont work. I only can close this windows using X. And of course I cannot save the template. Some errors appear in the Error Log view:

Looking its details:

java.lang.NullPointerException
at org.knime.workbench.explorer.view.preferences.MountSettings.saveMountSettingsToNode(MountSettings.java:587)
at org.knime.workbench.explorer.view.preferences.MountSettings.saveMountSettings(MountSettings.java:569)
at org.knime.workbench.explorer.ExplorerMountTable.updateProviderSettings(ExplorerMountTable.java:805)
at org.knime.workbench.explorer.view.ContentDelegator.dispose(ContentDelegator.java:180)
at org.eclipse.jface.viewers.ContentViewer.handleDispose(ContentViewer.java:182)
at org.eclipse.jface.viewers.StructuredViewer.handleDispose(StructuredViewer.java:2319)
at org.eclipse.jface.viewers.ColumnViewer.handleDispose(ColumnViewer.java:663)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:124)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084)
at org.eclipse.swt.widgets.Widget.release(Widget.java:836)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:929)
at org.eclipse.swt.widgets.Widget.release(Widget.java:839)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:929)
at org.eclipse.swt.widgets.Widget.release(Widget.java:839)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:929)
at org.eclipse.swt.widgets.Widget.release(Widget.java:839)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:929)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:171)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:808)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1368)
at org.eclipse.swt.widgets.Widget.release(Widget.java:839)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:460)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:460)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:737)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:317)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1729)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4845)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1657)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2199)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5178)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2454)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:504)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4941)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1657)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2199)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5178)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2454)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:504)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4941)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1657)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2199)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5178)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2560)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3815)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.knime.workbench.editor2.actions.SaveAsSubNodeTemplateAction.runOnNodes(SaveAsSubNodeTemplateAction.java:198)
at org.knime.workbench.editor2.actions.AbstractNodeAction.runInSWT(AbstractNodeAction.java:174)
at org.knime.workbench.editor2.actions.AbstractNodeAction$1.run(AbstractNodeAction.java:160)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4889)
at org.knime.workbench.editor2.actions.AbstractNodeAction.run(AbstractNodeAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:144)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

What is happening?

0 Likes

#2

How did you downgrade? Are you attempting to use workflows that you saved in 4.0 with 3.7.2?

0 Likes

#3

Uninstalling v4 and after that, re-installing v3.7.2.

This bug is not related with workflows created while using v4. Now, when I create NEW workflows using 3.7.2, and inside them I try to save a metanode as a template, I cannot do it.

0 Likes

#4

When you returned back to using 3.7.2, did you make a brand new workspace, or re-use the same workspace?

0 Likes

#5

I have re-used the workspace.

0 Likes

#6

The workspace stores not only your workflows, but also details about the configuration of KNIME and preferences; in 3.7.2 please try creating a new workspace and use that, importing workflows from the old workspace as required.

1 Like