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 135202

Summary: Heapwalker throws java.lang.ClassCastException and doesnt work in GTK with jdk 1.6_10
Product: profiler Reporter: Petr Cyhelsky <cyhelsky>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: mentlicher
Priority: P3 Keywords: GTK, JDK_SPECIFIC
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: details of the exception

Description Petr Cyhelsky 2008-05-16 10:00:10 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

Observed: The heap walker debugger module throws  java.lang.ClassCastException and the whole IDE graphics is working
uncorrectly afterwards (slow, artefacts, does not repaint, etc) when NB is running under jdk1.6_10 with GTK. Howewer
under metal everything works fine as it does under gtk with jdk1.6_6.

Expected: heap walker should behave the same way under GTK as under another look and feel

Steps to reproduce: open memoryView.java of http://qa.netbeans.org/modules/debugger/promo-h/MemoryView.zip project in
editor -> set caret to line 116 -> run to cursor -> invoke the loaded classes view (alt+shift+4 or
window|debugging|loadedclasses)
Comment 1 Petr Cyhelsky 2008-05-16 10:04:31 UTC
Created attachment 61473 [details]
details of the exception
Comment 2 Martin Entlicher 2008-05-17 09:51:05 UTC
The UI comes from profiler...
Comment 3 Jiri Sedlacek 2008-06-16 16:24:18 UTC
Tracked by another issue.

*** This issue has been marked as a duplicate of 135812 ***
Comment 4 Petr Cyhelsky 2008-06-19 10:05:18 UTC
yes 135812 is duplicate of this issue, verified