Bug 51429 - JVM terminated on eclipse startup with exit code=3 - Java Model Exception
Summary: JVM terminated on eclipse startup with exit code=3 - Java Model Exception
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 21:02 EST by Lisa Dusseault CLA
Modified: 2004-02-10 09:27 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa Dusseault CLA 2004-02-09 21:02:06 EST
I initially found this after deleting some obsolete files elswhere on my 
disk.  Next time I started eclipse I got the error popup:
  
  JVM terminated. Exit code=3
  C:\Windows\system32\javaw.exe
  -cp C:\eclipse\startup.jar org.eclipse.core.launcher.Main
  -os win32
  -ws win32
  -arch x86
  -showsplash C:\eclipse\eclipse -showsplash 600

Here's the latest entry in the .log file, dated a week ago so it may not be of 
any help:

!ENTRY org.eclipse.jdt.launching 4 150 Jan 19, 2004 12:18:50.760
!MESSAGE The archive: C:/work/wfs/make/build/standalone-tomcat/server/lib/
commons-fileupload-1.0-beta-1.jar which is referenced by the classpath, does 
not exist.
!SESSION Jan 31, 2004 09:40:48.209 ----------------------------------------

-----
java.version=1.3.0
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 -install file:C:/
eclipse/
!ENTRY org.eclipse.jdt.ui 4 10001 Jan 31, 2004 09:40:48.209
!MESSAGE An error occurred while accessing a Java element
!STACK 1
Java Model Exception: Java Model Status [DirectoryEntry [in [Working copy] 
DirectoryEntry.java [in com.xythos.fileSystem [in [project root] [in wfs]]]] 
does not exist.]
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException 
(JavaElement.java:481)
at org.eclipse.jdt.internal.core.JavaElement.openHierarchy
(JavaElement.java:498)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo
(JavaElement.java:312)
at org.eclipse.jdt.internal.core.SourceType.isInterface(SourceType.java:315)
at org.eclipse.jdt.ui.actions.FindImplementorsAction.canOperateOn
(FindImplementorsAction.java:74)
at org.eclipse.jdt.ui.actions.FindAction.canOperateOn(FindAction.java:88)
at org.eclipse.jdt.ui.actions.FindAction.selectionChanged(FindAction.java:254)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged
(SelectionDispatchAction.java:181)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged
(SelectionDispatchAction.java:176)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:889)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection
(StructuredViewer.java:1290)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect
(StructuredViewer.java:657)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected
(StructuredViewer.java:681)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent
(OpenStrategy.java:178)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:173)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:308)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.jdt.core 4 969 Jan 31, 2004 09:40:48.229
!MESSAGE DirectoryEntry [in [Working copy] DirectoryEntry.java [in 
com.xythos.fileSystem [in [project root] [in wfs]]]] does not exist.
---

Since Eclipse fails to start up, I can't reconfigure the projects through the 
GUI.  So I tried downloading and installing a fresh Eclipse in a new directory 
(eclipse 2.1.2, now, instead of 2.1).  Unfortunately when I start that up it 
has the same error even though it's a fresh install.
Comment 1 Jerome Lanneluc CLA 2004-02-10 07:05:18 EST
Looks like your vm is corrupt. Try reinstalling it.
Comment 2 Philipe Mulet CLA 2004-02-10 09:27:59 EST
Closing