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 105299 - NPE during sorting according size
Summary: NPE during sorting according size
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 105592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-31 18:24 UTC by Petr Pisl
Modified: 2007-06-27 15:41 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 Petr Pisl 2007-05-31 18:24:32 UTC
Ubuntu Linux, GTK

Load a head dump
Switch to Instances
Display Size column in the Instance window.
Click on the Size label to sort according size. If there is a lot of instances
or you do doubleclick, you obtain this NPE:

java.lang.NullPointerException
	at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3055)
[catch] 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)
	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 Jiri Sedlacek 2007-06-26 11:12:44 UTC
Doesn't seem to be strictly Linux-related.
Comment 2 Jiri Sedlacek 2007-06-26 11:12:55 UTC
*** Issue 105592 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Sedlacek 2007-06-27 15:41:17 UTC
Caused by invoking sorting subsequently in short intervals. Fixed the NPE.

Fixed for Beta1.