#201 Crash after System,exit(0)

open
nobody
Other (56)
5
2008-08-22
2008-08-22
Anonymous
No

Everything works fine but when the program ends I get a Unhandled exception: java.lang.NoClassDefFoundError: com/sun/jdi/VMOutOfMemoryException
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/jdi/VMOutOfMemoryException
at edu.rice.cs.drjava.ui.DrJavaErrorHandler$1.run(DrJavaErrorHandler.java:109)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.jdi.VMOutOfMemoryException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 9 more

If I get the System.exit(0) out of the instructions it doesn't happen, and neither if I run from command prompt

Discussion

  • Logged In: YES
    user_id=430590
    Originator: NO

    What release of DrJava are you running? On what platform? If you could post the contents of the "About" and "System Properties" tabs in the "About" popup window on the Help menu, it would be very helpful.