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 241115 - NullPointerException at org.netbeans.lib.profiler.ui.components.treetable.TreeTableModelAdapter.getCurrentPath
Summary: NullPointerException at org.netbeans.lib.profiler.ui.components.treetable.Tre...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 13:10 UTC by Jiri Skrivanek
Modified: 2014-01-31 12:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207081


Attachments
stacktrace (1.45 KB, text/plain)
2014-01-29 13:10 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-01-29 13:10:27 UTC
Build: NetBeans IDE Dev (Build 201401290001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b67, Java(TM) SE Runtime Environment, 1.8.0-b126
OS: Windows 7

User Comments:
jskrivanek: To reproduce:
- create Anagram sample project
- start profiling (CPU, advanced, all classes)
- take snapshot when apllication is ready
- type "show(" to filter text field and click Enter




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.ui.components.treetable.TreeTableModelAdapter.getCurrentPath(TreeTableModelAdapter.java:234)
   at org.netbeans.lib.profiler.ui.components.treetable.TreeTableModelAdapter.access$000(TreeTableModelAdapter.java:62)
   at org.netbeans.lib.profiler.ui.components.treetable.TreeTableModelAdapter$3.run(TreeTableModelAdapter.java:262)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
   at java.awt.EventQueue.access$400(EventQueue.java:97)
Comment 1 Jiri Skrivanek 2014-01-29 13:10:29 UTC
Created attachment 144535 [details]
stacktrace
Comment 2 Jiri Sedlacek 2014-01-29 14:42:14 UTC
Should be fixed by http://hg.netbeans.org/profiler-main/rev/7fa864543db5.
Comment 3 Quality Engineering 2014-01-31 02:39:41 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7fa864543db5
User: Jiri Sedlacek <jis@netbeans.org>
Log: #241115, CCTNode.getChildren can return null