Project: JDT
Bug 83221 [misc] classnot found moving from M4 to i0118
Reported: 2005-01-19 13:40:06 | Status: verified fixed

I got the latest integration biuld (i0118) and opened a workspace formerly used via M4. I got an error restoring workbench state and several of the following execeptions in my log. I had several open editors in the workspace. It is hard to tell if there are any missing. Note much more information available. !ENTRY org.eclipse.ui 4 4 2005-01-19 13:35:03.264 !MESSAGE Exception creating editor: The classfile is not on the classpath !STACK 1 org.eclipse.ui.PartInitException[995]: org.eclipse.core.runtime.CoreException: The classfile is not on the classpath at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput (ClassFileEditor.java:623) at org.eclipse.ui.texteditor.AbstractTextEditor$16.run (AbstractTextEditor.java:2284) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:344) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:289) at org.eclipse.jface.window.ApplicationWindow$1.run (ApplicationWindow.java:624) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.window.ApplicationWindow.run (ApplicationWindow.java:621) at org.eclipse.ui.internal.WorkbenchWindow.run (WorkbenchWindow.java:1949) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit (AbstractTextEditor.java:2302) at org.eclipse.ui.texteditor.AbstractTextEditor.init (AbstractTextEditor.java:2329) at org.eclipse.ui.internal.EditorManager.createSite (EditorManager.java:820) at org.eclipse.ui.internal.EditorManager.openInternalEditor (EditorManager.java:899) at org.eclipse.ui.internal.EditorManager.access$12 (EditorManager.java:883) at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1106) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1061) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.EditorManager.busyRestoreEditor (EditorManager.java:1076) at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1068) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.EditorManager.restoreEditor (EditorManager.java:1066) at org.eclipse.ui.internal.EditorManager.restoreEditorState (EditorManager.java:1708) at org.eclipse.ui.internal.EditorManager.restoreState (EditorManager.java:1020) at org.eclipse.ui.internal.WorkbenchPage.restoreState (WorkbenchPage.java:2443) at org.eclipse.ui.internal.WorkbenchWindow.restoreState (WorkbenchWindow.java:1634) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1415) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1371) at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1274) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1061) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1208) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState (WorkbenchConfigurer.java:171) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows (WorkbenchAdvisor.java:638) at org.eclipse.ui.internal.Workbench.init(Workbench.java:888) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1517) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:287) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:274) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:255) at org.eclipse.core.launcher.Main.run(Main.java:811) at org.eclipse.core.launcher.Main.main(Main.java:795)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditorInputFactory.java