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 251090 - NullPointerException at org.netbeans.modules.profiler.v2.ProfilerWindow.performStartImpl
Summary: NullPointerException at org.netbeans.modules.profiler.v2.ProfilerWindow.perfo...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 08:44 UTC by Tomas Hurka
Modified: 2015-03-14 05:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216033


Attachments
stacktrace (3.44 KB, text/plain)
2015-03-11 08:44 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-03-11 08:44:34 UTC
Build: NetBeans IDE Dev (Build 1)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Mac OS X

User Comments:
thurka: Steps:
1) Start with clean userdir
2) Select Profile-> Attach to External Process
3) switch to methods profiling
4) click Attach button




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.v2.ProfilerWindow.performStartImpl(ProfilerWindow.java:477)
   at org.netbeans.modules.profiler.v2.ProfilerWindow.access$400(ProfilerWindow.java:145)
   at org.netbeans.modules.profiler.v2.ProfilerWindow$2.performAction(ProfilerWindow.java:237)
   at org.netbeans.modules.profiler.v2.ui.DropdownButton$Button.fireActionPerformed(DropdownButton.java:348)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Comment 1 Tomas Hurka 2015-03-11 08:44:35 UTC
Created attachment 152550 [details]
stacktrace
Comment 2 Jiri Sedlacek 2015-03-11 10:02:59 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/4b9f83443742.
Comment 3 Quality Engineering 2015-03-14 05:47:17 UTC
Integrated into 'main-silver', will be available in build *201503140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4b9f83443742
User: Jiri Sedlacek <jis@netbeans.org>
Log: Fixed #251090 - make sure AttachSettings are initialized when accessed