This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Severe loss of functionality after install of nightly Scala Eclipse Plugin (2.8.0.r20494-b20100114032916)

6 replies
Ben Hutchison 3
Joined: 2009-11-02,
User offline. Last seen 42 years 45 weeks ago.
Last night I updated an apparently healthy Eclipse (3.5.1 jre1.6_17 WinVista) to use the nightly Scala plugin, from a previously working nightly version dated mid December.

Immediately afterwards, all Scala and Java functionality in Eclipse seemed to be rendered inoperable; eg no source folders in project view, no Java or Scala related items in any context menu, no ability to open Scala or Java editors. It was really strange, never seen anything like it.

There was some clues in the log of what happened - Ive extracted possibly relevant sections of the failing session below .

Uninstalling the Scala plugin restored regular JDT java functionality. But I could not rollback to prior install ("missing from repository"), so I'll probably have to do manual install of a good build (suggestions?).

Anyone else getting this...?

-Ben

!SESSION 2010-01-14 21:50:53.911 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:\Users\ben\Arcadia2.0\Workspace

!ENTRY org.eclipse.core.resources 2 10035 2010-01-14 21:50:55.979
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.core.resources 4 567 2010-01-14 21:50:56.444
!MESSAGE Workspace restored, but some problems occurred.
!SUBENTRY 1 org.eclipse.core.resources 4 567 2010-01-14 21:50:56.444
!MESSAGE Could not read metadata for '.org.eclipse.jdt.core.external.folders'.

!ENTRY org.eclipse.ui 4 4 2010-01-14 21:50:58.216
!MESSAGE Unable to find element factory: org.eclipse.jdt.ui.PersistableJavaElementFactory

!ENTRY org.eclipse.ui 4 4 2010-01-14 21:50:58.220
!MESSAGE Unable to restore working set item - cannot instantiate factory: org.eclipse.jdt.ui.PersistableJavaElementFactory

!ENTRY org.eclipse.ui 4 0 2010-01-14 21:50:58.446
!MESSAGE Unable to create editor ID org.eclipse.jdt.ui.CompilationUnitEditor: No editor descriptor for id org.eclipse.jdt.ui.CompilationUnitEditor
!STACK 1
org.eclipse.ui.PartInitException: No editor descriptor for id org.eclipse.jdt.ui.CompilationUnitEditor
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:598)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1417)
    at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 1 org.eclipse.ui 4 0 2010-01-14 21:50:58.447
!MESSAGE No editor descriptor for id org.eclipse.jdt.ui.CompilationUnitEditor

!ENTRY org.eclipse.ui 2 2 2010-01-14 21:50:58.478
!MESSAGE Ignored attempt to add saveable that was already registered
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: unknown saveable: org.eclipse.ui.internal.DefaultSaveable@9effe0 from part: org.eclipse.ui.internal.ErrorEditorPart@9effe0
    at org.eclipse.ui.internal.SaveablesList.logWarning(SaveablesList.java:187)
    at org.eclipse.ui.internal.SaveablesList.addModel(SaveablesList.java:117)
    at org.eclipse.ui.internal.SaveablesList.addModels(SaveablesList.java:289)
    at org.eclipse.ui.internal.SaveablesList.postOpen(SaveablesList.java:684)
    at org.eclipse.ui.internal.PartList.partOpened(PartList.java:234)
    at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)
    at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)
    at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:375)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:610)
    at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1417)
    at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.ui 2 2 2010-01-14 21:50:58.915
!MESSAGE Perspective Scala has beed made into a local copy

!ENTRY org.eclipse.ui 4 0 2010-01-14 21:50:59.133
!MESSAGE Problems occurred restoring workbench.
!SUBENTRY 1 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-01-14 21:50:59.133
!MESSAGE OK
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-01-14 21:50:59.133
!MESSAGE OK
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-01-14 21:50:59.133
!MESSAGE OK
!SUBENTRY 1 org.eclipse.ui 4 0 2010-01-14 21:50:59.133
!MESSAGE Unable to restore perspective: Workspace - Scala.
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE Problems occurred restoring perspective.
!SUBENTRY 3 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.133
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.134
!MESSAGE Could not create view: org.eclipse.jdt.ui.PackageExplorer
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.ui.PackageExplorer
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.134
!MESSAGE Could not create view: org.eclipse.jdt.ui.PackageExplorer
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.134
!MESSAGE Could not create view: org.eclipse.jdt.ui.TypeHierarchy
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.ui.TypeHierarchy
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.135
!MESSAGE Could not create view: org.eclipse.jdt.ui.TypeHierarchy
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.135
!MESSAGE Could not create view: org.eclipse.jdt.ui.JavadocView
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.ui.JavadocView
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.135
!MESSAGE Could not create view: org.eclipse.jdt.ui.JavadocView
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.135
!MESSAGE Could not create view: org.eclipse.jdt.ui.SourceView
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.ui.SourceView
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.141
!MESSAGE Could not create view: org.eclipse.jdt.ui.SourceView
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.141
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.141
!MESSAGE Could not create view: org.eclipse.jdt.callhierarchy.view
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.callhierarchy.view
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.141
!MESSAGE Could not create view: org.eclipse.jdt.callhierarchy.view
!SUBENTRY 2 org.eclipse.ui 4 4 2010-01-14 21:50:59.141
!MESSAGE Could not create view: org.eclipse.jdt.ui.PackageExplorer
!STACK 1
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.jdt.ui.PackageExplorer
    at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
    at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1247)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1217)
    at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3205)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    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:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 3 org.eclipse.ui 4 0 2010-01-14 21:50:59.145
!MESSAGE Could not create view: org.eclipse.jdt.ui.PackageExplorer
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.145
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.145
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.145
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 0 0 2010-01-14 21:50:59.145
!MESSAGE
!SUBENTRY 2 org.eclipse.ui 4 0 2010-01-14 21:50:59.145
!MESSAGE Could not find view: org.eclipse.jdt.callhierarchy.view
!SUBENTRY 2 org.eclipse.ui 4 0 2010-01-14 21:50:59.145
!MESSAGE Could not find view: org.eclipse.jdt.ui.PackageExplorer
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-01-14 21:50:59.145
!MESSAGE OK

!ENTRY org.eclipse.ui.ide 4 4 2010-01-14 22:02:37.331
!MESSAGE Problems occurred opening the selected resources.
!SUBENTRY 1 org.eclipse.core.resources 4 567 2010-01-14 22:02:37.332
!MESSAGE The project description file (.project) for 'CCSTM' is missing.  This file contains important information about the project.  The project will not function properly until this file is restored.

!ENTRY org.eclipse.ui 4 4 2010-01-14 22:03:03.171
!MESSAGE Unable to restore working set item - cannot instantiate factory: org.eclipse.jdt.ui.PersistableJavaElementFactory

!ENTRY org.eclipse.ui 4 4 2010-01-14 22:03:03.171
!MESSAGE Unable to find element factory: org.eclipse.jdt.ui.PersistableJavaElementFactory

!ENTRY org.eclipse.ui 4 4 2010-01-14 22:03:03.172
!MESSAGE Unable to restore working set item - cannot instantiate factory: org.eclipse.jdt.ui.PersistableJavaElementFactory


milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Severe loss of functionality after install of nightly Scal

On Fri, Jan 15, 2010 at 12:01 AM, Ben Hutchison wrote:
> Last night I updated an apparently healthy Eclipse (3.5.1 jre1.6_17
> WinVista) to use the nightly Scala plugin, from a previously working nightly
> version dated mid December.
>
> Immediately afterwards, all Scala and Java functionality in Eclipse seemed
> to be rendered inoperable; eg no source folders in project view, no Java or
> Scala related items in any context menu, no ability to open Scala or Java
> editors. It was really strange, never seen anything like it.
>
> There was some clues in the log of what happened - Ive extracted possibly
> relevant sections of the failing session below .
>
> Uninstalling the Scala plugin restored regular JDT java functionality. But I
> could not rollback to prior install ("missing from repository"), so I'll
> probably have to do manual install of a good build (suggestions?).
>
> Anyone else getting this...?

I've not had any similar reports, and I'd be surprised if this was
specific to the Scala tooling rather than a generic issue with Eclipse
updates.

Try installing the most recently nightly and let me know how you get on.

Cheers,

Miles

Ben Hutchison 3
Joined: 2009-11-02,
User offline. Last seen 42 years 45 weeks ago.
Re: Severe loss of functionality after install of nightly Scal
On Fri, Jan 15, 2010 at 11:35 AM, Miles Sabin <miles@milessabin.com> wrote:
I've not had any similar reports, and I'd be surprised if this was
specific to the Scala tooling rather than a generic issue with Eclipse
updates.

Try installing the most recently nightly and let me know how you get on.


Normal functionality has been restored with the next nightly install :) Although looking at the commit log, I dont think the improvement is anything to do with changes in the code...

Maybe as you say, the last update installation was corrupted in some way, and combined with the AOP, that managed to disable both the SDT and JDT...?

Since uninstalling just the SDT did restore the JDT, it was definitely something related to the Scala plugin.

That kind of side-effecting fragility is perhaps a consequence of the AOP weaving?

-Ben
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Severe loss of functionality after install of nightly Scal

On Fri, Jan 15, 2010 at 3:47 AM, Ben Hutchison wrote:
> That kind of side-effecting fragility is perhaps a consequence of the AOP
> weaving?

Yes, that's possible. But really I think you were just seeing a borked
update here ... it happens, it's messy.

Cheers,

Miles

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Severe loss of functionality after install of nightly Scal

Hello Ben,

This happens to me about one in two or three updates. Usually the list of
perspectives Eclipse knows of has been corrupted listing the Scala plugin as
and the Java plugin as but sometimes they are completely gone
along wiith the Debug perspective.

At first I used to do a re-install of Eclipse and then install the plugin
which always worked. Later I discovered that starting Eclipse from the cmd
prompt with the -clean option solves the problem as well. Some state like
the content of the Ant view will be cleared and some views will be restored
to their default state but that is only a minor inconvenience.

I gladly go through this routine to enjoy the constant improvements in the
plugin (thanks for that Miles!)

Gr. Silvio

Pedro Furlanetto
Joined: 2009-08-19,
User offline. Last seen 2 years 34 weeks ago.
Re: Severe loss of functionality after install of nightly Scal

I've had a some weird eclipse behavior like that. But every time it
was solved by a eclipse -clean . The only time -clean haven't solved
problem, I noticed that the JDT weaving was off, turning it on solved.

On Fri, Jan 15, 2010 at 11:36 PM, Silvio Bierman
wrote:
>
> Hello Ben,
>
> This happens to me about one in two or three updates. Usually the list of
> perspectives Eclipse knows of has been corrupted listing the Scala plugin as
> and the Java plugin as but sometimes they are completely gone
> along wiith the Debug perspective.
>
> At first I used to do a re-install of Eclipse and then install the plugin
> which always worked. Later I discovered that starting Eclipse from the cmd
> prompt with the -clean option solves the problem as well. Some state like
> the content of the Ant view will be cleared and some views will be restored
> to their default state but that is only a minor inconvenience.
>
> I gladly go through this routine to enjoy the constant improvements in the
> plugin (thanks for that Miles!)
>
> Gr. Silvio
>
> --
> View this message in context: http://old.nabble.com/-scala-tools--Severe-loss-of-functionality-after-i...
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Severe loss of functionality after install of nightly Scal

On Sat, Jan 16, 2010 at 2:36 AM, Silvio Bierman
wrote:
> At first I used to do a re-install of Eclipse and then install the plugin
> which always worked. Later I discovered that starting Eclipse from the cmd
> prompt with the -clean option solves the problem as well. Some state like
> the content of the Ant view will be cleared and some views will be restored
> to their default state but that is only a minor inconvenience.

That's good advice: I always launch Eclipse with the -clean option.

Cheers,

Miles

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland