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 166900 - NullPointerException at org.netbeans.modules.profiler.ppoints.StopwatchProfilingPoint$Result.access$500
Summary: NullPointerException at org.netbeans.modules.profiler.ppoints.StopwatchProfil...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 08:01 UTC by vasanthan
Modified: 2009-11-01 10:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 152484


Attachments
stacktrace (3.30 KB, text/plain)
2009-06-11 08:01 UTC, vasanthan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vasanthan 2009-06-11 08:01:07 UTC
Build: NetBeans IDE Dev (Build 200906081401)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.profiler.ppoints.StopwatchProfilingPoint$Result.access$500(StopwatchProfilingPoint.java:313)
        at org.netbeans.modules.profiler.ppoints.StopwatchProfilingPoint.getResultsText(StopwatchProfilingPoint.java:463)
        at org.netbeans.modules.profiler.ppoints.ProfilingPoint$ResultsRenderer.setValue(ProfilingPoint.java:95)
        at org.netbeans.lib.profiler.ui.components.table.EnhancedTableCellRenderer.getTableCellRendererComponent(EnhancedTableCellRenderer.java:164)
        at javax.swing.JTable.prepareRenderer(JTable.java:5729)
        at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)
Comment 1 vasanthan 2009-06-11 08:01:17 UTC
Created attachment 83433 [details]
stacktrace
Comment 2 Jiri Sedlacek 2009-06-11 08:08:00 UTC
Could you please provide some details what were you doing when the exception has been thrown?
Comment 3 vasanthan 2009-06-11 08:24:59 UTC
I was profiling my application. Application is built on netbeans platform. Kept two profiling points (for counting the 
hits) and also collecting the CPU performance. The root methods are only those inside my application. Hope this helps.
Comment 4 Jiri Sedlacek 2009-06-11 08:30:02 UTC
Thanks! Was the Profiling Points window at the bottom of the main IDE window opened and showing? Did you open the
Stopwatch profiling point report window displaying measured times?
Comment 5 vasanthan 2009-06-11 08:36:30 UTC
Yes the profiling points window is at the bottom of the IDE and is showing. It had two active profiling points (used 
only to count the hits) and one disabled profiling point (which is for block profiling). I forgot wheather i clicked 
the link or not.
Comment 6 Jiri Sedlacek 2009-06-11 08:41:20 UTC
Thanks for the info!
Comment 7 Jiri Sedlacek 2009-10-29 20:39:57 UTC
Fixed in profiler-main.


http://hg.netbeans.org/profiler-main/rev/3d4699b7b6ef
Comment 8 Quality Engineering 2009-11-01 10:56:58 UTC
Integrated into 'main-golden', will be available in build *200910310201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3d4699b7b6ef
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #166900 - synchronize PP results List