Bugs item #1329090, was opened at 2005-10-18 00:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1329090&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Debugger
Group: Makes DrJ unstable
Status: Open
Resolution: None
Priority: 5
Submitted By: George Shore (furious_gee)
Assigned to: Nobody/Anonymous (nobody)
Summary: IllegalStateException whilst debugging
Initial Comment:
Hey,
I did a bad thing and I typed "System.exit(0)" while
debugging, thinking it'd force the debugee to quit, but
instead I got a runtime exception. Silly me!
Using DrJava version: 20050814-2234, and Sun JDK
1.5.0.05 on a Gentoo 2005.0 box
Hope this all helps,
:o)
G.
-------
Stack Trace:
java.lang.IllegalStateException: Same thread cannot
read or write multiple times! (Would cause deadlock.)
at
edu.rice.cs.util.ReaderWriterLock._ensureNotAlreadyRunning(ReaderWriterLock.java:281)
at
edu.rice.cs.util.ReaderWriterLock.startWrite(ReaderWriterLock.java:202)
at
edu.rice.cs.drjava.model.EventNotifier.removeListener(EventNotifier.java:87)
at
edu.rice.cs.drjava.model.AbstractGlobalModel.removeListener(AbstractGlobalModel.java:724)
at
edu.rice.cs.drjava.model.debug.JPDADebugger.shutdown(JPDADebugger.java:322)
at
edu.rice.cs.drjava.ui.MainFrame$ModelListener$24.run(MainFrame.java:5713)
at
edu.rice.cs.util.swing.Utilities.invokeLater(Utilities.java:51)
at
edu.rice.cs.drjava.ui.MainFrame$ModelListener.interpreterResetting(MainFrame.java:5727)
at
edu.rice.cs.drjava.model.GlobalEventNotifier.interpreterResetting(GlobalEventNotifier.java:295)
at
edu.rice.cs.drjava.model.repl.InteractionsEventNotifier.interpreterResetting(InteractionsEventNotifier.java:97)
at
edu.rice.cs.drjava.model.repl.DefaultInteractionsModel$6.run(DefaultInteractionsModel.java:152)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1329090&group_id=44253
|