Eclipse Solution Explorer Pane Problem

Servoy Developer v4.1.3

Did this:

Help → Software Updates → Manage Configuration

and selected ‘Scan for Updates’. I then selected the ‘Georgia Tech. Software Library’ item, and then the ‘OK’ button. It did the update.

After restarting Developer, the Solution Explorer pane now shows an error message :

‘Error creating the view’

along with the following:

java.lang.NoSuchMethodError: org.eclipse.dltk.ast.declarations.ModuleDeclaration.addStatement(Lorg/eclipse/dltk/ast/ASTNode;)V
at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceParser.processNode(JavaScriptSourceParser.java:221)
at org.eclipse.dltk.internal.javascript.parser.JavaScriptSourceParser.parse(JavaScriptSourceParser.java:183)
at com.servoy.eclipse.core.repository.SolutionDeserializer.Za(SolutionDeserializer.java:28)
at com.servoy.eclipse.core.repository.SolutionDeserializer.Za(SolutionDeserializer.java:154)
at com.servoy.eclipse.core.repository.SolutionDeserializer.Za(SolutionDeserializer.java:520)
at com.servoy.eclipse.core.repository.SolutionDeserializer.Za(SolutionDeserializer.java:93)
at com.servoy.eclipse.core.repository.Zf.loadRootObject(Zf.java:43)
at com.servoy.j2db.persistence.Zzb.Za(Zzb.java:137)
at com.servoy.j2db.persistence.Zzb.Za(Zzb.java:94)
at com.servoy.j2db.persistence.Zzb.Za(Zzb.java:84)
at com.servoy.j2db.persistence.AbstractRepository.getActiveRootObject(AbstractRepository.java:68)
at com.servoy.eclipse.core.ServoyProject.Za(ServoyProject.java:52)
at com.servoy.eclipse.core.ServoyModel.Zl(ServoyModel.java:522)
at com.servoy.eclipse.core.ServoyModel.Zr(ServoyModel.java:90)
at com.servoy.eclipse.core.ServoyModelManager$1.run(ServoyModelManager.java:3)
at com.servoy.eclipse.core.ServoyModelManager.Za(ServoyModelManager.java:1)
at com.servoy.eclipse.ui.views.solutionexplorer.SolutionExplorerListContentProvider.(SolutionExplorerListContentProvider.java:375)
at com.servoy.eclipse.ui.views.solutionexplorer.SolutionExplorerView.createListViewer(SolutionExplorerView.java:241)
at com.servoy.eclipse.ui.views.solutionexplorer.SolutionExplorerView.createPartControl(SolutionExplorerView.java:499)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4080)
at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3145)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Any ideas on how to fix this? Is there a way to uninstall the update?

Thanks!

you seem to have overwritten dltk plugins or something that we need.

what you can try to do is Help->Software updates->Manage Configuration and then you have there Revert to previous as actions

I tried the ‘Revert to Previous’ action, but it did not fix the problem. I also tried restoring from the backup of the ‘Servoy’ folder I made prior to performing the update, and I still get the same error message. The first line of the error message is:

java.lang.NoSuchMethodError: org.eclipse.dltk.ast.declarations.ModuleDeclaration.addStatement(Lorg/eclipse/dltk/ast/ASTNode;)V

So, it’s not finding the method:

‘org.eclipse.dltk.ast.declarations.ModuleDeclaration.addStatement()’

which I verified was missing by searching the contents of all files in the ‘Servoy’ folder. Could this possibly be located in some other folder or in the Windows registry?

Thanks!

normally everything is in the eclipse folder

except maybe when eclipse cant write to it then it could be that it is in your user home folder (windows: c:\user\username\xxxx)

But if revert didnt help then i am afraid you have to do a clean install and point to your existing workspace to be up and running again.