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 244907 - NullPointerException at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.plainMethodEntry
Summary: NullPointerException at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBui...
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 11:47 UTC by Jiri Skrivanek
Modified: 2015-01-10 21:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210118


Attachments
stacktrace (1.78 KB, text/plain)
2014-06-05 11:47 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-06-05 11:47:32 UTC
Build: NetBeans IDE Dev (Build prototypes-profiler-14-on-20140604)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
jskrivanek: Locks view focused and Telemetry, Methods and Threads enabled while profiling NetBeans Paint sample application.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.plainMethodEntry(CPUCallGraphBuilder.java:1181)
   at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.plainMethodEntry(CPUCallGraphBuilder.java:1241)
   at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.methodEntry(CPUCallGraphBuilder.java:211)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.addMethodEntries(StackTraceSnapshotBuilder.java:528)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.processDiffs(StackTraceSnapshotBuilder.java:501)
   at org.netbeans.lib.profiler.results.cpu.StackTraceSnapshotBuilder.processDiffs(StackTraceSnapshotBuilder.java:445)
Comment 1 Jiri Skrivanek 2014-06-05 11:47:34 UTC
Created attachment 147581 [details]
stacktrace
Comment 2 maxw3st 2015-01-10 21:12:50 UTC
Not sure what's prompting the null pointer, but it's only happening when the program is run on the system for the first time. Closing and reopening the app does not produce the same result. I'm guessing something is getting initialized that doesn't have a value the first pass through the program. No big deal, not to worry.

jack
@maxw3st