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 242182

Summary: NullPointerException at org.netbeans.modules.profiler.heapwalk.ui.InstancesListControllerUI$10.valueChanged
Product: profiler Reporter: IrianR
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: RESOLVED FIXED    
Severity: normal CC: jskrivanek
Priority: P3 Keywords: VISUALVM
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207850
Attachments: stacktrace

Description IrianR 2014-02-21 08:07:51 UTC
Build: NetBeans IDE Dev (Build 201402150001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
IrianR: Tried Show References command on an exception thrown during a debugging session.

I was debugging a jersey unit test.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.heapwalk.ui.InstancesListControllerUI$10.valueChanged(InstancesListControllerUI.java:755)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
Comment 1 IrianR 2014-02-21 08:07:53 UTC
Created attachment 145458 [details]
stacktrace
Comment 2 Jiri Sedlacek 2014-02-24 09:59:51 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/88d4d9bcb1a9.
Comment 3 Quality Engineering 2014-02-26 03:04:21 UTC
Integrated into 'main-silver', will be available in build *201402260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/88d4d9bcb1a9
User: Jiri Sedlacek <jis@netbeans.org>
Log: #242182 - getPathForRow(selectedRow) can return null