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 268716

Summary: NullPointerException at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setChildren
Product: profiler Reporter: alied <alied>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal CC: alied
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226988
Attachments: stacktrace
stacktrace
session causing the error
stacktrace

Description alied 2016-10-27 14:23:56 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15
OS: Linux

User Comments:
alied: exporting SQL queries from a snapshot taken in a SQL profiling session




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setChildren(PresoObjAllocCCTNode.java:133)
   at org.netbeans.lib.profiler.ui.jdbc.JDBCTreeTableView$SQLQueryNode.getChildren(JDBCTreeTableView.java:460)
   at org.netbeans.lib.profiler.ui.jdbc.JDBCTreeTableView$SQLQueryNode.getChildCount(JDBCTreeTableView.java:470)
   at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:186)
   at org.netbeans.lib.profiler.ui.swing.ProfilerTreeTable$FilteredTreeModel.getChildCount(ProfilerTreeTable.java:631)
   at org.netbeans.lib.profiler.ui.swing.ProfilerTreeTable.getNextPath(ProfilerTreeTable.java:149)
Comment 1 alied 2016-10-27 14:23:58 UTC
Created attachment 162661 [details]
stacktrace
Comment 2 Tomas Hurka 2016-10-27 15:51:31 UTC
Can you please attach the SQL profiler snapshot, so we can reproduce it? Thanks.
Comment 3 alied 2016-10-27 20:30:43 UTC
> Can you please attach the SQL profiler snapshot, so we can reproduce it? Thanks.
I'm afraid I won't be able. It's a private project; not open.
I'm however more than willing to help you. I don't recall doing anything unusual. I'll try to reproduce it at home when I get there.
Comment 4 alied 2018-02-20 14:29:33 UTC
Created attachment 165639 [details]
stacktrace

exported the queries from a SQL profiling snapshot
Comment 5 alied 2018-02-20 14:32:47 UTC
Created attachment 165640 [details]
session causing the error
Comment 6 alied 2018-03-01 21:38:27 UTC
Created attachment 165651 [details]
stacktrace

exporting SQL queries profiling results to CSV