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 140025

Summary: [65cat] ClassCastException thrown when debugging
Product: debugger Reporter: _ theanuradha <theanuradha>
Component: JavaAssignee: issues@debugger <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description _ theanuradha 2008-07-15 10:37:01 UTC
[ JDK VERSION : 1.6.0 ]


ClassCastException thrown when debugging

java.lang.ClassCastException:
com.sun.tools.jdi.ThreadGroupReferenceImpl cannot be cast to
com.sun.jdi.ThreadReference
	at
org.netbeans.modules.debugger.jpda.JPDADebuggerImpl$3.propertyChange(J
PDADebuggerImpl.java:1316)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupp
ort.java:339)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupp
ort.java:276)
	at
org.netbeans.modules.debugger.jpda.models.ThreadsCache.exec(ThreadsCac
he.java:210)
	at
org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:2
72)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Daniel Prusa 2008-07-15 10:48:35 UTC

*** This issue has been marked as a duplicate of 139943 ***
Comment 2 _ theanuradha 2008-07-15 12:16:30 UTC
dprusa,This happen to me today I'm on NetBeans IDE Dev (Build 080715) but issue 140025 fixed yesterday how come that ?
Is bug still there ?
Comment 3 Daniel Prusa 2008-07-15 12:59:20 UTC
The bug is still there, I have only marked this issue as a duplicate of issue 139943, which is still open.
Comment 4 _ theanuradha 2008-07-15 13:03:52 UTC
Sorry my BAd I read it as fixed Apologize :)
Comment 5 Quality Engineering 2010-04-29 09:41:04 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.