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.
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)
Created attachment 152550 [details] stacktrace
Fixed by http://hg.netbeans.org/profiler-main/rev/4b9f83443742.
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