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 108123 - [heapwalker] NullPointerException after show instance of a field
Summary: [heapwalker] NullPointerException after show instance of a field
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 11:28 UTC by ehucka
Modified: 2007-07-10 12:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-06-26 11:28:16 UTC
Product Version: NetBeans IDE 6.0M10 (build 200706251444) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b04
System: Linux version 2.6.16-1.2122_FC5 running on i386; UTF-8; en_US (nb)

Steps to reproduction:

1. start debugging of an application on jdk 1.6.0 and higher
2. stop on a breakpoint and open classes view
3. select e.g. java.lang.String class and show its Instances view
4. select an instance, go to Fields view and select e.g. 'value' field
5. invoke Show Instances action

Result:
java.lang.NullPointerException
        at org.netbeans.modules.profiler.heapwalk.HeapFragmentWalker.getActiveController(HeapFragmentWalker.java:111)
        at org.netbeans.modules.profiler.heapwalk.HeapFragmentWalker.getNavigationHistorySource(HeapFragmentWalker.java:151)
        at
org.netbeans.modules.profiler.heapwalk.NavigationHistoryManager.createCurrentHistoryItem(NavigationHistoryManager.java:74)
        at
org.netbeans.modules.profiler.heapwalk.NavigationHistoryManager.createNavigationHistoryPoint(NavigationHistoryManager.java:33)
        at
org.netbeans.modules.profiler.heapwalk.HeapFragmentWalker.createNavigationHistoryPoint(HeapFragmentWalker.java:123)
        at
org.netbeans.modules.profiler.heapwalk.FieldsBrowserController.createNavigationHistoryPoint(FieldsBrowserController.java:110)
        at
org.netbeans.modules.profiler.heapwalk.ui.FieldsBrowserControllerUI$4.actionPerformed(FieldsBrowserControllerUI.java:364)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 Jiri Sedlacek 2007-06-26 15:22:52 UTC
Fixed for Beta1.
Comment 2 ehucka 2007-07-10 12:14:50 UTC
verified