Home » Eclipse Projects » Eclipse Platform » My Java project disappeared!
My Java project disappeared! [message #299827] |
Fri, 24 February 2006 21:01 |
Buddha Buddy Messages: 47 Registered: July 2009 |
Member |
|
|
My computer lost power while Eclipse was running, and when I restarted, my
remembered file wasn't displaied, there was an exception instead: "File
/<Project>/<path to file> does not exist."
The Package Explorer and Navigator are both empty, although the Outline is
populated with the correct structure. My log is posted below, but after I
closed the editors, exited, and restarted Eclipse, I now do not get
anything in my .log file when I start Eclipse. Only the version.ini
timestamp gets modified now.
How do I get it to load my project? It is pointing to the correct
workspace. Trying to "Switch Workspace" to it makes no difference.
Here is my .log file:
!SESSION 2006-02-24 12:15:47.591
-----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\Program
Files\eclipse\workspaces_31\workspace
!ENTRY org.eclipse.ui.workbench 4 2 2006-02-24 12:16:40.230
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.ja va:1328)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.EditorManager.saveEditorState(Editor Manager.java:1287)
at
org.eclipse.ui.internal.EditorManager.saveState(EditorManage r.java:1208)
at
org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPag e.java:2779)
at
org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchW indow.java:2288)
at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1 733)
at
org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workb ench.java:1469)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:14 66)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:559)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:5 57)
at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:52 2)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:713)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:711)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:686)
at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:643)
at
org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWi ndow.java:627)
at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindo w.java:728)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:726)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:727)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:67 4)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:159)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations. java:257)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.jav a:1649)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3040 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui.workbench 4 2 2006-02-24 12:16:40.245
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.ja va:1328)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.EditorManager.saveEditorState(Editor Manager.java:1287)
at
org.eclipse.ui.internal.EditorManager.saveState(EditorManage r.java:1208)
at
org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPag e.java:2779)
at
org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchW indow.java:2288)
at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1 733)
at
org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workb ench.java:1469)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:14 66)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:559)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:5 57)
at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:52 2)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:713)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:711)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:686)
at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:643)
at
org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWi ndow.java:627)
at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindo w.java:728)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:726)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:727)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:67 4)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:159)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations. java:257)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.jav a:1649)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3040 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.team.ui 4 1 2006-02-24 12:16:44.26
!MESSAGE Error initializing Synchronization
!STACK 1
org.eclipse.ui.WorkbenchException[0]: org.xml.sax.SAXParseException:
Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java :668)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl. java:448)
at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBu ilderImpl.java:185)
at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:93)
at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. restoreSavedParticipants(SynchronizeManager.java:577)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. init(SynchronizeManager.java:541)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. <init>(SynchronizeManager.java:275)
at org.eclipse.team.ui.TeamUI.getSynchronizeManager(TeamUI.java :47)
at org.eclipse.team.internal.ui.TeamUIPlugin.stop(TeamUIPlugin. java:212)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1031)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:394)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop (AbstractBundle.java:408)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.basi cStopBundles(BundleStopper.java:83)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.stop Bundles(BundleStopper.java:73)
at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkSto pping(EclipseAdaptor.java:766)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:528)
at
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run( SystemBundle.java:171)
at java.lang.Thread.run(Thread.java:534)
!SUBENTRY 1 org.eclipse.ui 4 0 2006-02-24 12:16:44.26
!MESSAGE Document root element is missing.
!STACK 0
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java :668)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl. java:448)
at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBu ilderImpl.java:185)
at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:93)
at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. restoreSavedParticipants(SynchronizeManager.java:577)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. init(SynchronizeManager.java:541)
at
org.eclipse.team.internal.ui.synchronize.SynchronizeManager. <init>(SynchronizeManager.java:275)
at org.eclipse.team.ui.TeamUI.getSynchronizeManager(TeamUI.java :47)
at org.eclipse.team.internal.ui.TeamUIPlugin.stop(TeamUIPlugin. java:212)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1031)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:394)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop (AbstractBundle.java:408)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.basi cStopBundles(BundleStopper.java:83)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.stop Bundles(BundleStopper.java:73)
at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkSto pping(EclipseAdaptor.java:766)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:528)
at
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run( SystemBundle.java:171)
at java.lang.Thread.run(Thread.java:534)
!SESSION 2006-02-24 12:16:45.526
-----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\Program
Files\eclipse\workspaces_31\workspace
!ENTRY org.eclipse.ui 4 0 2006-02-24 12:16:49.120
!MESSAGE Unable to create editor ID
org.eclipse.jdt.ui.CompilationUnitEditor: No input factory ID found for
editor id=org.eclipse.jdt.ui.CompilationUnitEditor name=WorkListQuery.java
!STACK 1
org.eclipse.ui.PartInitException: No input factory ID found for editor
id=org.eclipse.jdt.ui.CompilationUnitEditor name=WorkListQuery.java
at
org.eclipse.ui.internal.EditorReference.getRestoredInput(Edi torReference.java:309)
at
org.eclipse.ui.internal.EditorReference.getEditorInput(Edito rReference.java:288)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:546)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:258)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1221)
at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.ja va:949)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.EditorManager.restoreState(EditorMan ager.java:944)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState(Workbench Page.java:2576)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:1819)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.j ava:2566)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2 515)
at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514 )
at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263 )
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:447)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Wor kbench.java:1258)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1512)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1 491)
at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374 )
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1318)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:700)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!SUBENTRY 1 org.eclipse.ui 4 0 2006-02-24 12:16:49.135
!MESSAGE No input factory ID found for editor
id=org.eclipse.jdt.ui.CompilationUnitEditor name=WorkListQuery.java
!ENTRY org.eclipse.ui 4 0 2006-02-24 12:17:05.603
!MESSAGE Unable to create editor ID
org.eclipse.jdt.ui.CompilationUnitEditor: No input factory ID found for
editor id=org.eclipse.jdt.ui.CompilationUnitEditor name=Viewer.java
!STACK 1
org.eclipse.ui.PartInitException: No input factory ID found for editor
id=org.eclipse.jdt.ui.CompilationUnitEditor name=Viewer.java
at
org.eclipse.ui.internal.EditorReference.getRestoredInput(Edi torReference.java:309)
at
org.eclipse.ui.internal.EditorReference.getEditorInput(Edito rReference.java:288)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:546)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
at
org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartS tack.java:1066)
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.j ava:402)
at
org.eclipse.ui.internal.PartSashContainer.handleDeferredEven ts(PartSashContainer.java:1317)
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.j ava:402)
at
org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(W orkbenchPage.java:1260)
at
org.eclipse.ui.internal.WorkbenchPage.deferUpdates(Workbench Page.java:1250)
at
org.eclipse.ui.internal.WorkbenchPage.closeEditors(Workbench Page.java:1224)
at
org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchP age.java:1279)
at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54 )
at org.eclipse.ui.internal.PartStack.close(PartStack.java:495)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:1 97)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:102 )
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation$1.handleEvent(TabbedStackPresentation.java:81)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:267)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:276)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder.access$1(DefaultTabFolder.java:1)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67 )
at
org.eclipse.ui.internal.presentations.PaneFolder.notifyClose Listeners(PaneFolder.java:584)
at
org.eclipse.ui.internal.presentations.PaneFolder$3.close(Pan eFolder.java:190)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:20 75)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:292)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!SUBENTRY 1 org.eclipse.ui 4 0 2006-02-24 12:17:05.603
!MESSAGE No input factory ID found for editor
id=org.eclipse.jdt.ui.CompilationUnitEditor name=Viewer.java
!SESSION 2006-02-24 12:18:22.428
|
|
|
Re: My Java project disappeared! [message #299836 is a reply to message #299827] |
Sat, 25 February 2006 15:21 |
Eclipse User |
|
|
|
Originally posted by: automatic.javalobby.org
Sounds like a file corruption case. It's difficult to know what advice to give you given that almost any file could be broken. I'd recommend taking a backup of your hard drive (if possible) and then try to run file system checks like chkdsk to see if there's any file corruption. Sometimes it will be able to save it; other times it won't.
I'd recommend getting rid of your entire workspace/.metadata directory, in case any of those files have been corrupted. I'd also recommend that you get rid of the configuration directory, and replace it with any default files that are in the Eclipse install (though IIRC the configuration directory is created the first time you run Eclipse).
You should also check your project's files out too. I'd recommend backing those up; for example, creating a Zip file. You should then be able to import the existing project into the workspace.
If you have the bandwidth available, it might just be easier to download a new 3.1.2 install and put that in a fresh place. You can then use the zip file you created above to import it into an entirely new workspace, and once you're happy with the contents, you can get rid of the old install.
Incidentally, this is one of the arguments for using a version control system like CVS or SVN, even when you're the only one doing any work. If there's a problem with the hard drive, you've at least got a second copy of it somewhere else on the hard drive, though it's better still if it's on a different hard drive or another computer.
Alex.
|
|
| |
Re: My Java project disappeared! [message #299894 is a reply to message #299884] |
Mon, 27 February 2006 20:14 |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Buddha wrote:
> I'm afraid I didn't express myself very well.
> We ARE using Subversion (Subclipse), and I have all my files. In fact, my
> current directory structure is just fine. It is just Eclipse that isn't
> showing anything. All my files are there, and I can even open up my
> project with Eclipse 3.0 (using an old workspace, of course).
> However, it is a royal pain in the rear to get a new project set up (we
> have a ton of 'ignore' files, I'm pretty particular about how my editors
> are configured, etc). I just want to tell Eclipse to re-compute the
> project and find my files again.
If the .project and .classpath files still exist in the root of your
project, then Eclipse will be able to recognize you project automatically.
These files define what is included in your project. Use
File->New->Project to select Java Project. From the wizard select the
Create project from existing source and select the project root.
|
|
|
Re: My Java project disappeared! [message #299895 is a reply to message #299884] |
Mon, 27 February 2006 20:53 |
Eclipse User |
|
|
|
Originally posted by: varavamu.yahoo.com
make sure that the ignore file filters are not also filtering out your
java sources.
vijay
Buddha wrote:
> I'm afraid I didn't express myself very well.
>
> We ARE using Subversion (Subclipse), and I have all my files. In fact,
> my current directory structure is just fine. It is just Eclipse that
> isn't showing anything. All my files are there, and I can even open up
> my project with Eclipse 3.0 (using an old workspace, of course).
>
> However, it is a royal pain in the rear to get a new project set up
> (we have a ton of 'ignore' files, I'm pretty particular about how my
> editors are configured, etc). I just want to tell Eclipse to
> re-compute the project and find my files again.
>
>
|
|
| |
Re: My Java project disappeared! [message #299900 is a reply to message #299894] |
Mon, 27 February 2006 22:00 |
Buddha Buddy Messages: 47 Registered: July 2009 |
Member |
|
|
Dave Wegener wrote:
> If the .project and .classpath files still exist in the root of your
> project, then Eclipse will be able to recognize you project automatically.
> These files define what is included in your project. Use
> File->New->Project to select Java Project. From the wizard select the
> Create project from existing source and select the project root.
The only thing in the .project is the name of the project, the
buildCommand, and the nature. The only thing in the .classpath is, of
course, the classpath. All my other project settings will still be lost.
Since this was a recent event, without any modifications to my Project
itself (just in the source code), I took a look at all project files
modified in the past month. I have a bunch of files from the 22nd that are
all null. They have length, but no data.
workspace\.metadata\.plugins\org.eclipse.search\dialog_setti ngs.xml
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.markers
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.syncinfo
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.indexes\15\e4\81\fe\15\history.index
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.indexes\15\e4\81\fe\db\history.index
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.indexes\15\e4\81\fe\37\6e\history.index
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.indexes\15\e4\81\fe\15\history.index
All of these were at 4:40 pm, which may have been around the time of a
power outage. I tried restoring the dialog_settings.xml, .markers, and
syncinfo files from my previous 3.0 project, and just deleting the
workspace\.metadata\.plugins\org.eclipse.core.resources\proj ects\ <My
Project>\.indexes\15 folder, but it made no difference.
I just have to assume that the project was lost to the gods of file
corruption, and I'll have to recreate it. :-(
|
|
| | |
Goto Forum:
Current Time: Fri Apr 26 08:58:29 GMT 2024
Powered by FUDForum. Page generated in 0.03534 seconds
|