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 102158 - [heapwalker] NPE after show instances
Summary: [heapwalker] NPE after show instances
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-04-23 14:38 UTC by ehucka
Modified: 2007-04-30 10:38 UTC (History)
1 user (show)

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-04-23 14:38:53 UTC
NetBeans IDE Dev (Build 20070423-0650)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.16-1.2122_FC5 running on i386
en_US (nb); UTF-8

An exception was thrown after show instances on Object[] class. Instances view
was closed before. It was the first call of the action in fresh userdir.
I cannot reproduce it.


java.lang.NullPointerException
        at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3055)
        at
org.netbeans.modules.profiler.heapwalk.ui.InstancesListControllerUI$1.run(InstancesListControllerUI.java:100)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Martin Entlicher 2007-04-23 22:03:03 UTC
This seems to be a profiler issue. Moving to profiler for evaluation.
Comment 2 Jiri Sedlacek 2007-04-23 22:07:19 UTC
Already fixed in Profiler trunk.
Comment 3 ehucka 2007-04-24 11:20:57 UTC
NetBeans IDE Dev (Build 20070424-0311)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86

The NPE was thrown from today's build but it is hard to reproduce. I have seen
it only once.


java.lang.NullPointerException
	at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3060)
[catch] at
org.netbeans.modules.profiler.heapwalk.ui.InstancesListControllerUI$1.run(InstancesListControllerUI.java:100)
Comment 4 Jiri Sedlacek 2007-04-24 11:28:28 UTC
The NPE cannot be thrown from today's build as today's build of the Profiler 
failed due to CVS failure. If you meant NetBeans daily build, then it's 
possible - I've closed this as "Already fixed in Profiler trunk". At the 
Profiler side I cannot do more than just fix it. It's up to you to get Profiler 
trunk and verify it.
Comment 5 ehucka 2007-04-24 12:38:25 UTC
I am sorry I did not know profiler has still separate cvs. I used continuous
netbeans build.
Comment 6 ehucka 2007-04-30 10:38:58 UTC
verified