This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 59873 - debugger throws object collected exception
Summary: debugger throws object collected exception
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 62748 68201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-11 06:36 UTC by sviyer
Modified: 2010-04-29 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log (74.33 KB, text/plain)
2005-06-14 23:55 UTC, sviyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviyer 2005-06-11 06:36:11 UTC
First of all I have not seen this problem in 4.1 final release.

This happens inconsistently.  

Stepping through the application code throws
"com.sun.jdi.ObjectCollectedException" exception. 

The request processor error window is displayed and once you dismiss it most of
the time you can continue working.

why is the error displayed if it is not fatal ?

or is it fatal ?

confused.
Comment 1 Martin Entlicher 2005-06-13 10:35:40 UTC
Please attach the whole exception body here. The stack trace is necessary in
order to fix this. It's probably nothing serious, but hard to say without the
stack trace.
Comment 2 sviyer 2005-06-14 23:53:20 UTC
------------- stack trace -----------
com.sun.jdi.ObjectCollectedException
	at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:27)
	at com.sun.tools.jdi.ThreadReferenceImpl.jdwpStatus(ThreadReferenceImpl.java:190)
	at com.sun.tools.jdi.ThreadReferenceImpl.isSuspended(ThreadReferenceImpl.java:200)
	at
org.netbeans.modules.debugger.jpda.actions.ContinueActionProvider.checkEnabled(ContinueActionProvider.java:94)
	at
org.netbeans.modules.debugger.jpda.actions.ContinueActionProvider.run(ContinueActionProvider.java:114)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:419)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:794)
-----------------------------------------
Comment 3 sviyer 2005-06-14 23:55:58 UTC
Created attachment 22665 [details]
message log
Comment 4 Martin Entlicher 2005-06-15 12:05:39 UTC
Thanks for the info. It needs to be fixed in ContinueActionProvider.
Comment 5 Martin Entlicher 2005-06-15 12:16:34 UTC
Fixed in trunk:

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/ContinueActionProvider.java,v
 <--  ContinueActionProvider.java
new revision: 1.7; previous revision: 1.6
Comment 6 Martin Entlicher 2005-08-22 10:18:36 UTC
*** Issue 62748 has been marked as a duplicate of this issue. ***
Comment 7 Martin Entlicher 2005-11-07 10:57:06 UTC
*** Issue 68201 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2010-04-29 09:23:11 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.