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 169464

Summary: ClassCastException: org.netbeans.lib.profiler.ui.memory.DiffLivenessResultsPanel cannot be cast to org.netbeans.lib.profiler.ui.memory.DiffAllocResultsPanel
Product: profiler Reporter: matusdekanek <matusdekanek>
Component: BaseAssignee: Petr Cyhelsky <cyhelsky>
Status: RESOLVED FIXED    
Severity: blocker Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=154464
Issue Type: DEFECT Exception Reporter: 154464
Attachments: stacktrace

Description matusdekanek 2009-07-29 14:40:17 UTC
Build: NetBeans IDE Dev (Build 200907280201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.28-14-generic, i386

User Comments:
matusdekanek: saving memory snapshots comparison



Stacktrace: 
java.lang.ClassCastException: org.netbeans.lib.profiler.ui.memory.DiffLivenessResultsPanel cannot be cast to org.netbeans.lib.profiler.ui.memory.DiffAllocResultsPanel
        at org.netbeans.modules.profiler.MemoryDiffPanel.exportData(MemoryDiffPanel.java:355)
        at org.netbeans.modules.profiler.ExportAction$6.run(ExportAction.java:383)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Comment 1 matusdekanek 2009-07-29 14:40:22 UTC
Created attachment 85459 [details]
stacktrace
Comment 2 Petr Cyhelsky 2009-10-06 11:44:12 UTC
fixed in: http://hg.netbeans.org/profiler-main/rev/013b4a4e8042
Comment 3 Quality Engineering 2009-10-14 10:59:20 UTC
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/013b4a4e8042
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #169464 - Prevent ClassCastException in diffPanel export