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

Summary: NullPointerException at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.plainMethodEntry
Product: profiler Reporter: Jiri Skrivanek <jskrivanek>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal CC: maxw3st
Priority: P4    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210118
Attachments: stacktrace

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