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 60267 - NPE with LiveResultsWindow open and starting new profiling session with different type of profiling
Summary: NPE with LiveResultsWindow open and starting new profiling session with diffe...
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 12:07 UTC by iformanek
Modified: 2007-02-12 22:03 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 iformanek 2005-06-20 12:07:28 UTC
Steps:
1. start CPU profiling, open Live results window
2. stop profiling
3. start again memory profiling

this exception is thrown:

*********** Exception occurred ************ at 12:38 PM on Jun 20, 2005
java.lang.NullPointerException
	at com.sun.tools.profiler.ui.cpu.FlatProfilePanel$4.getRowCount
(FlatProfilePanel.java:376)
	at com.sun.tools.profiler.ui.components.ExtendedTableModel.getRowCount
(ExtendedTableModel.java:105)
	at javax.swing.JTable.getRowCount(JTable.java:1797)
	at javax.swing.plaf.basic.BasicTableUI$Handler.repaintLeadCell
(BasicTableUI.java:746)
	at javax.swing.plaf.basic.BasicTableUI$Handler.focusLost
(BasicTableUI.java:764)
	at java.awt.Component.processFocusEvent(Component.java:5380)
	at java.awt.Component.processEvent(Component.java:5244)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.KeyboardFocusManager.redispatchEvent
(KeyboardFocusManager.java:1810)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions
(DefaultKeyboardFocusManager.java:836)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent
(DefaultKeyboardFocusManager.java:526)
	at java.awt.Component.dispatchEventImpl(Component.java:3841)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 iformanek 2005-06-20 12:07:58 UTC
Needs to be done for M7
Comment 2 iformanek 2005-06-23 12:39:31 UTC
Fixed post M7 RC1
Comment 3 ehucka 2006-10-09 12:09:06 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-12 22:03:01 UTC
Closing old issues.