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.
Summary: | ClassCastException on root node inside Evaluate Expression Result tree | ||
---|---|---|---|
Product: | debugger | Reporter: | Jiri Vagner <jvagner> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | exc.txt |
Description
Jiri Vagner
2008-04-07 09:57:21 UTC
Created attachment 59757 [details]
exc.txt
Reproduced. The problem is that selected node happens to be the last selected node in the IDE before Evaluate Expression dialog was invoked. I was able to reproduce it only on JDK 1.6.x . I was unable to reproduce when using JDK 1.5.x. Added "instanceof" check before type conversion. Fix integrated into main as http://hg.netbeans.org/main/rev/023dc55cea5d Integrated into 'main-golden', available in NB_Trunk_Production #239 build Changeset: http://hg.netbeans.org/main/rev/023dc55cea5d User: Rudolf Balada <rbalada@netbeans.org> Log: #132160: ClassCastException on root node inside Evaluate Expression Result tree Fixed. Verified for both 1.5 and 1.6 in Product Version: NetBeans IDE Dev (Build 200806060005) fix backported into release61_fixes branch http://hg.netbeans.org/release61_fixes/rev/8c1c9ba079f6 Verified with patch2. |