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.
NB 6.1 java.lang.ClassCastException: org.netbeans.modules.profiler.heapwalk.model.HeapWalkerNodeFactory$6 cannot be cast to org.netbeans.modules.profiler.heapwalk.model.InstanceNode at org.netbeans.modules.profiler.heapwalk.model.BrowserUtils.computeChildrenToNearestGCRoot(BrowserUtils.java:171) at org.netbeans.modules.profiler.heapwalk.ReferencesBrowserController$2.doInBackground(ReferencesBrowserController.java:216) at org.netbeans.lib.profiler.ui.SwingWorker$2.run(SwingWorker.java:113) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
maybe this happened when there was wait node when I selected show nearest gc root.
*** This issue has been marked as a duplicate of 124306 ***