Unable to Load knime Workspce

Hi,

I am running into trouble with my knime workspace.

While trying to execute a database reader node knime became unresponsive. I chose the option to quit knime so I could restart it. After doing this I am unable to load my workspace. I received the error in the knime explorer window:

Could not create the view: Plug-in "org.knime.workbench.explorer.view" was unable to instantiate class "org.knime.workbench.explorer.view.ExplorerView".

 

When I click on the details button I get the following information

java.lang.NoClassDefFoundError: Could not initialize class org.knime.workbench.explorer.ExplorerMountTable
 at org.knime.workbench.explorer.view.ContentDelegator.<init>(ContentDelegator.java:92)
 at org.knime.workbench.explorer.view.ExplorerView.<init>(ExplorerView.java:146)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
 at java.lang.Class.newInstance0(Class.java:372)
 at java.lang.Class.newInstance(Class.java:325)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
 at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)
 at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
 at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:327)
 at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
 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.ViewPane.setVisible(ViewPane.java:534)
 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.createControl(PartStack.java:643)
 at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:570)
 at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
 at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:272)
 at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:981)
 at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3713)
 at org.eclipse.ui.internal.WorkbenchPage.busyResetPerspective(WorkbenchPage.java:1046)
 at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:950)
 at org.eclipse.ui.internal.WorkbenchPage$14.run(WorkbenchPage.java:3175)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at org.eclipse.ui.internal.WorkbenchPage.resetPerspective(WorkbenchPage.java:3173)
 at org.eclipse.ui.internal.handlers.ResetPerspectiveHandler.execute(ResetPerspectiveHandler.java:84)
 at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
 at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
 at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
 at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
 at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
 at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
 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:4165)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
 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)
 

 

Could someone please help?

I should say I am able to open another workspace I have on the same local drive with no problems but I am unable to open the main workspace.

 

Cheers

Sorry for the hassle! Can you please try to add the option -clean to your knime.ini and restart with the broker workspace...

No worries I ended up fixing the problem by creating a new workspace folder and then copying the files to the new folder (except the .metadata folder) and this seemed to fix the problem.

 

Ill add the "-clean" for future though. Can I ask what it does though?

 

Cheers

Clears the OSGi metadata caches.