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 251612 - NullPointerException at org.netbeans.lib.profiler.ui.swing.renderer.BarRenderer.setValue
Summary: NullPointerException at org.netbeans.lib.profiler.ui.swing.renderer.BarRender...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 08:46 UTC by Jiri Skrivanek
Modified: 2015-04-22 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216544


Attachments
stacktrace (3.59 KB, text/plain)
2015-04-03 08:46 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2015-04-03 08:46:43 UTC
Build: NetBeans IDE Dev (Build 201504030001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 8

User Comments:
jskrivanek: My Steps:
- create sample Anagram project
- profile methods
- show only hot spots
- add filter "anagram"
- after while when I focused back to IDE it throws this exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.ui.swing.renderer.BarRenderer.setValue(BarRenderer.java:88)
   at org.netbeans.lib.profiler.ui.swing.renderer.HideableBarRenderer.setValue(HideableBarRenderer.java:107)
   at org.netbeans.lib.profiler.ui.swing.ProfilerTable$3.getTableCellRendererComponent(ProfilerTable.java:209)
   at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7031)
   at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7418)
   at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6933)
Comment 1 Jiri Skrivanek 2015-04-03 08:46:44 UTC
Created attachment 153010 [details]
stacktrace
Comment 2 Jiri Sedlacek 2015-04-16 13:30:04 UTC
Hopefully fixed by http://hg.netbeans.org/profiler-main/rev/87131c7c59d4.
Comment 3 Quality Engineering 2015-04-20 11:58:29 UTC
Integrated into 'main-silver', will be available in build *201504201004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/87131c7c59d4
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #251612 - renderers should handle null values