Bug 201792 - ClassCastException: org.netbeans.lib.profiler.heap.InstanceDump cannot be cast to org.netbeans.lib.profiler.heap.PrimitiveArrayInstance
ClassCastException: org.netbeans.lib.profiler.heap.InstanceDump cannot be cas...
Product: profiler
Classification: Unclassified
Component: Base
All All
: P3 (vote)
: 7.1
Assigned To: Tomas Hurka
Depends on:
  Show dependency treegraph
Reported: 2011-09-08 07:32 UTC by Exceptions Reporter
Modified: 2011-09-09 15:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

stacktrace (4.06 KB, text/plain)
2011-09-08 07:32 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-09-08 07:32:53 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 

Build: NetBeans IDE Dev (Build 20110908-6f37c5d112c9)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3504
OS: Mac OS X

java.lang.ClassCastException: org.netbeans.lib.profiler.heap.InstanceDump cannot be cast to org.netbeans.lib.profiler.heap.PrimitiveArrayInstance
   at org.netbeans.modules.profiler.heapwalk.OverviewController.getThreadName(OverviewController.java:547)
   at org.netbeans.modules.profiler.heapwalk.OverviewController.getStackTrace(OverviewController.java:469)
   at org.netbeans.modules.profiler.heapwalk.OverviewController.computeThreads(OverviewController.java:330)
   at org.netbeans.modules.profiler.heapwalk.ui.OverviewControllerUI$1.run(OverviewControllerUI.java:143)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1973)
Comment 1 Exceptions Reporter 2011-09-08 07:32:57 UTC
Created attachment 110513 [details]
Comment 2 Tomas Hurka 2011-09-08 07:36:53 UTC
Open heap dump from issue #201712 and click on 'Threads' in Overview tab.
Comment 3 Tomas Hurka 2011-09-08 07:50:55 UTC
Fixed in profiler-main.

changeset:   201153:4fc7ae06101d
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Sep 08 09:48:10 2011 +0200
summary:     bugfix #201792, make getThreadName() more robust
Comment 4 Quality Engineering 2011-09-09 15:05:54 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4fc7ae06101d
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #201792, make getThreadName() more robust

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo