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 198152 - com.sun.jdi.ObjectCollectedException at com.sun.tools.jdi.JDWPException.toJDIException
Summary: com.sun.jdi.ObjectCollectedException at com.sun.tools.jdi.JDWPException.toJDI...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 18:15 UTC by marbed
Modified: 2011-04-29 04:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159128


Attachments
stacktrace (518 bytes, text/plain)
2011-04-27 18:15 UTC, marbed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marbed 2011-04-27 18:15:31 UTC
Build: NetBeans Platform 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Linux

User Comments:
GUEST: The error occured when I launched my MIDP JavaME application in debug mode

GUEST: Trying to debug a project using Default Configuration. On Ubuntu

GUEST: Just starded a program for debuggin in simulator. Just pressed Launch.

GUEST: ?????

GUEST: Midlet with thread




Stacktrace: 
com.sun.jdi.ObjectCollectedException
   at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:27)
   at com.sun.tools.jdi.ObjectReferenceImpl.referenceType(ObjectReferenceImpl.java:139)
   at com.sun.tools.jdi.ThreadReferenceImpl.toString(ThreadReferenceImpl.java:534)
   at java.lang.String.valueOf(String.java:2826)
   at java.lang.StringBuilder.append(StringBuilder.java:115)
   at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:254)
Comment 1 marbed 2011-04-27 18:15:35 UTC
Created attachment 107981 [details]
stacktrace
Comment 2 Martin Entlicher 2011-04-28 07:26:30 UTC
An event that should suspend thread was received with collected thread.
We can do nothing but catch the exception...
Comment 3 Martin Entlicher 2011-04-28 09:37:36 UTC
The exception is caught in changeset:   193132:0f4e61f4d210
http://hg.netbeans.org/main/rev/0f4e61f4d210
We'd need exact steps to reproduce for a better fix. But I guess that this is not possible and the bug is sort of random...
Comment 4 Quality Engineering 2011-04-29 04:44:18 UTC
Integrated into 'main-golden', will be available in build *201104290000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0f4e61f4d210
User: mentlicher@netbeans.org
Log: #198152 Catch ObjectCollectedException.