Error After trying to Update Knime from 4.0

I recently tried to update my Knime platform from 4.0 to the latest version. I started to install the dependencies as instructed and reboot the software. Now when I attempt to open Knime, it just gave me an error. I used the - clean line in the config file and now when I try to open it, I get this in the log

!SESSION 2020-12-05 18:55:12.335 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=AdoptOpenJdk
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clean

This is a continuation of log file C:\Program Files\KNIME\configuration\1607216113131.bak_7.log
Created Time: 2020-12-05 18:58:21.801

!ENTRY org.eclipse.osgi 4 0 2020-12-05 18:58:21.803
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application “org.knime.product.KNIME_APPLICATION” could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.core.JavaIndexer, org.eclipse.ui.ide.workbench.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
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)

If I remove the -Clean item from the ini file, then I get this error:

!SESSION 2020-12-05 19:09:03.220 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=AdoptOpenJdk
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64

This is a continuation of log file C:\Program Files\KNIME\configuration\1607216943920.bak_6.log
Created Time: 2020-12-05 19:09:15.755

!ENTRY org.knime.dynamic.node.generation 2 0 2020-12-05 19:09:15.756
!MESSAGE Could not resolve module: org.knime.dynamic.node.generation [537]
Unresolved requirement: Require-Bundle: org.knime.core; bundle-version="[4.0.0,5.0.0)"
-> Bundle-SymbolicName: org.knime.core; bundle-version=“4.0.2.v201909300912”; singleton:=“true”
org.knime.core [518]
Unresolved requirement: Require-Bundle: org.knime.core.util; bundle-version="[5.11.0,6.0.0)"; visibility:=“reexport”
-> Bundle-SymbolicName: org.knime.core.util; bundle-version=“5.16.0.v202011231931”; singleton:=“true”
org.knime.core.util [522]
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”
Unresolved requirement: Require-Bundle: org.hamcrest.library; bundle-version="[1.3.0,2.0.0)"; resolution:=“optional”

A clean new installation might be an idea.

1 Like

Hello @UtilityHawk,

to update to KNIME version 4.2.0 new installation was needed (see here) so would say going from 4.0 to 4.3 is not possible. As @mlauber71 said you need fresh installation. Point your new workspace to old location and your workflows together with preferences should be the intact. Only thing left is to install extensions you had.

Anyways just to say in case you are not doing it or doing it irregularly that it is suggested to do workspace backup on regular basis…

Br,
Ivan

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.