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 - NullPointerException at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setChildren
Summary: NullPointerException at org.netbeans.lib.profiler.results.memory.PresoObjAllo...
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 14:23 UTC by alied
Modified: 2018-03-01 21:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226988


Attachments
stacktrace (2.20 KB, text/plain)
2016-10-27 14:23 UTC, alied
Details
stacktrace (2.20 KB, text/plain)
2018-02-20 14:29 UTC, alied
Details
session causing the error (13.23 KB, application/octet-stream)
2018-02-20 14:32 UTC, alied
Details
stacktrace (2.20 KB, text/plain)
2018-03-01 21:38 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
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