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 167244 - Cannot open heap dump on JDK 1.5 on Mac OS X 10.5
Summary: Cannot open heap dump on JDK 1.5 on Mac OS X 10.5
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P1 blocker (vote)
Assignee: Tomas Hurka
URL: http://statistics.netbeans.org/except...
Keywords: JDK_SPECIFIC, REGRESSION
Depends on:
Blocks:
 
Reported: 2009-06-17 15:20 UTC by Tomas Hurka
Modified: 2009-06-19 19:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152716


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-06-17 15:20:50 UTC
Build: NetBeans IDE Dev (Build 090617)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386
User comments: 
STACKTRACE: (first 10 lines)
org.openide.util.RequestProcessor$Item: task failed due to: java.lang.NoClassDefFoundError
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:267)
        at org.netbeans.modules.profiler.heapwalk.ui.OpenHeapWalkerAction.actionPerformed(OpenHeapWalkerAction.java:61)
        at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:115)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
        at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
        at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
Comment 1 Tomas Hurka 2009-06-17 15:23:22 UTC
This exception prevent opening of heap dump on JDK 1.5 with Java for Mac OS X 10.5 Update 4 installed. 
Comment 2 Tomas Hurka 2009-06-17 15:39:58 UTC
See also issue #167240.
Comment 3 Marian Mirilovic 2009-06-17 15:45:16 UTC
Tomas, do you think you'll be able to fix this soon ?
Comment 4 Tomas Hurka 2009-06-17 15:47:30 UTC
I think so.
Comment 5 Tomas Hurka 2009-06-17 16:04:42 UTC
Fixed in profiler-main
changeset:   135187:620f038509d3
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Jun 17 17:03:00 2009 +0200
summary:     bugfix #167244, catch NoClassDefFoundError from manager.getEngineByName()
Comment 6 Quality Engineering 2009-06-18 06:57:02 UTC
Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/620f038509d3
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #167244, catch NoClassDefFoundError from manager.getEngineByName()
Comment 7 Marian Mirilovic 2009-06-18 10:26:17 UTC
OK ... keep this opened until fixed in NB 6.7.
Comment 8 J Bachorik 2009-06-18 10:39:56 UTC
Patch reviewed
Comment 9 Ivan Sidorkin 2009-06-18 12:17:18 UTC
reproduced on FCS build NetBeans IDE 6.7 (Build 200906170001)

verified on NetBeans IDE Dev (Build 200906180201)
Comment 10 Tomas Hurka 2009-06-18 15:36:31 UTC
Fixed in release67
changeset:   133525:50f49133c462
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Jun 17 17:03:00 2009 +0200
summary:     bugfix #167244, catch NoClassDefFoundError from manager.getEngineByName()
Comment 11 Jaromir Uhrik 2009-06-19 19:49:44 UTC
Verified in:
Product Version: NetBeans IDE 6.7 (Build release67-19-on-090618)
Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137
System: Mac OS X version 10.5.7 running on i386; MacRoman; en_US (nb)