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 195481 - NullPointerException at org.netbeans.modules.profiler.snaptracer.impl.timeline.XChartSelectionOverlay.initDefaultValues
Summary: NullPointerException at org.netbeans.modules.profiler.snaptracer.impl.timelin...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 03:18 UTC by mjreged
Modified: 2011-09-14 18:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 175059


Attachments
stacktrace (1.66 KB, text/plain)
2011-02-15 03:18 UTC, mjreged
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mjreged 2011-02-15 03:18:31 UTC
Build: NetBeans IDE Dev (Build 201102100500)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

User Comments:
GUEST: Stopping the IDE profiling tool (generating the snapshot)

mjreged: Tried to run snapshot profile on netbeans. Due to slow debug variable rendering.

GUEST: Clicked "Profile the IDE"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.snaptracer.impl.timeline.XChartSelectionOverlay.initDefaultValues(XChartSelectionOverlay.java:188)
   at org.netbeans.modules.profiler.snaptracer.impl.timeline.XChartSelectionOverlay.<init>(XChartSelectionOverlay.java:104)
   at org.netbeans.modules.profiler.snaptracer.impl.timeline.ChartPanel.<init>(ChartPanel.java:129)
   at org.netbeans.modules.profiler.snaptracer.impl.timeline.TimelinePanel.<init>(TimelinePanel.java:76)
   at org.netbeans.modules.profiler.snaptracer.impl.TimelineView.getView(TimelineView.java:158)
   at org.netbeans.modules.profiler.snaptracer.impl.TracerView.createComponent(TracerView.java:141)
Comment 1 mjreged 2011-02-15 03:18:36 UTC
Created attachment 106013 [details]
stacktrace
Comment 2 Tomas Hurka 2011-03-05 11:29:29 UTC
NPE is caused by unsupported Nimbus L&F. See the following warning in the messages.log:

WARNING [org.netbeans.swing.plaf.Startup]: L&F Warning: Nimbus L&F is not supported L&F yet and system may exhibit various drawing problems. Please use for experimental purposes only.
Comment 3 Jan Stola 2011-09-13 14:23:16 UTC
Please, reevaluate. The exception is caused by Nimbus not defining List.selectionBackground value in UIDefaults.
Comment 4 Jiri Sedlacek 2011-09-13 14:44:46 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/76bbbd9b2458.
Comment 5 Quality Engineering 2011-09-14 18:25:49 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/76bbbd9b2458
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #195481 - support for nimbusSelectionBackground