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 227659 - NullPointerException at org.netbeans.modules.profiler.heapwalk.details.basic.BasicExportAction.selectExportTargetFile
Summary: NullPointerException at org.netbeans.modules.profiler.heapwalk.details.basic....
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) All
: P2 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-03-19 10:34 UTC by Exceptions Reporter
Modified: 2013-04-25 02:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199718


Attachments
stacktrace (3.11 KB, text/plain)
2013-03-19 10:34 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-19 10:34:06 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20130319-af343a587ed3)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b32, Java(TM) SE Runtime Environment, 1.7.0_14-ea-b13
OS: Mac OS X

User Comments:
GUEST: export




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.heapwalk.details.basic.BasicExportAction.selectExportTargetFile(BasicExportAction.java:218)
   at org.netbeans.modules.profiler.heapwalk.details.basic.BasicExportAction.actionPerformed(BasicExportAction.java:255)
   at org.netbeans.modules.profiler.heapwalk.details.basic.ArrayValueView$1$2.run(ArrayValueView.java:184)
   at org.netbeans.modules.profiler.heapwalk.details.basic.ArrayValueView$4.actionPerformed(ArrayValueView.java:304)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
Comment 1 Exceptions Reporter 2013-03-19 10:34:13 UTC
Created attachment 132785 [details]
stacktrace
Comment 2 Petr Cyhelsky 2013-03-25 10:28:10 UTC
Caused by jdk bug bugs.sun.com/bugdatabase/view_bug.do?bug_id=8010718
It is a regression in jdk - it works fine in jdk 1.6
Comment 3 Petr Cyhelsky 2013-04-03 13:56:53 UTC
workaround is easy, going to implement it
Comment 4 Petr Cyhelsky 2013-04-03 13:57:55 UTC
fixed in: http://hg.netbeans.org/profiler-main/rev/6f5d78b8c3b0
Comment 5 Quality Engineering 2013-04-25 02:17:29 UTC
Integrated into 'main-golden', will be available in build *201304242301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6f5d78b8c3b0
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #227659 - workaround for jdk bug 8010718