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.
1/ Select 'Defined classes' for objects profiling, switch to Telemetry, close profiling session 2/ Open new session, enable multiple modes, add Objects, the NPE is thrown: java.lang.NullPointerException at org.netbeans.modules.profiler.v2.features.ObjectsFeatureModes$CustomClassesMode.configureSettings(ObjectsFeatureModes.java:534) at org.netbeans.modules.profiler.v2.features.ObjectsFeature.configureSettings(ObjectsFeature.java:275) at org.netbeans.modules.profiler.v2.ProfilerFeatures.activateFeature(ProfilerFeatures.java:149) at org.netbeans.modules.profiler.v2.ProfilerFeatures.toggleActivated(ProfilerFeatures.java:183) at org.netbeans.modules.profiler.v2.ProfilerWindow$17.fireActionPerformed(ProfilerWindow.java:568) at org.netbeans.modules.profiler.v2.ui.StayOpenPopupMenu$Item.actionPerformed(StayOpenPopupMenu.java:215) at org.netbeans.modules.profiler.v2.ui.StayOpenPopupMenu.performAction(StayOpenPopupMenu.java:170) at org.netbeans.modules.profiler.v2.ui.StayOpenPopupMenu.performAction(StayOpenPopupMenu.java:178) at org.netbeans.modules.profiler.v2.ui.StayOpenPopupMenu.access$000(StayOpenPopupMenu.java:75) at org.netbeans.modules.profiler.v2.ui.StayOpenPopupMenu$Item.processMouseEvent(StayOpenPopupMenu.java:220) at java.awt.Component.processEvent(Component.java:6281) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4872) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4698) [...]
Fixed by http://hg.netbeans.org/profiler-main/rev/ddd38302522c.
Integrated into 'main-silver', will be available in build *201509160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ddd38302522c User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #255173 - do not read memory settings if UI not ready yet