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 70109 - NPE in GlobalFiltersPanel when checking A11Y
Summary: NPE in GlobalFiltersPanel when checking A11Y
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 18:17 UTC by Jiri Sedlacek
Modified: 2007-02-20 18:09 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 Jiri Sedlacek 2005-12-08 18:17:29 UTC
Got this exception during checking A11Y by the tool - traversing list of 
defined filters by TAB key. Doesn't seem to be reproducible during "normal" 
usage.

java.lang.NullPointerException
	at org.netbeans.profiler.common.filters.FilterUtils.getSeparateFilters
(FilterUtils.java:18)
	at org.netbeans.modules.profiler.ui.GlobalFiltersPanel.isValidFilter
(GlobalFiltersPanel.java:195)
	at org.netbeans.modules.profiler.ui.GlobalFiltersPanel.access$200
(GlobalFiltersPanel.java:37)
	at org.netbeans.modules.profiler.ui.GlobalFiltersPanel$1.setState
(GlobalFiltersPanel.java:399)
	at 
com.sun.tools.profiler.ui.components.EnhancedTableCellRenderer.getTableCellRende
rerComponent(EnhancedTableCellRenderer.java:160)
	at javax.swing.JTable$AccessibleJTable.getAccessibleChild
(JTable.java:5330)
	at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:5709)
	at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:5232)
	at javax.swing.DefaultListSelectionModel.fireValueChanged
(DefaultListSelectionModel.java:187)
	at javax.swing.DefaultListSelectionModel.fireValueChanged
(DefaultListSelectionModel.java:167)
	at javax.swing.DefaultListSelectionModel.fireValueChanged
(DefaultListSelectionModel.java:214)
	at javax.swing.DefaultListSelectionModel.changeSelection
(DefaultListSelectionModel.java:408)
	at javax.swing.DefaultListSelectionModel.changeSelection
(DefaultListSelectionModel.java:417)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval
(DefaultListSelectionModel.java:441)
	at javax.swing.JTable.changeSelectionModel(JTable.java:1633)
	at javax.swing.JTable.changeSelection(JTable.java:1678)
	at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed
(BasicTableUI.java:557)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
	at javax.swing.JTable.processKeyBinding(JTable.java:3463)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2809)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
	at java.awt.Component.processEvent(Component.java:5265)
	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.dispatchKeyEvent
(DefaultKeyboardFocusManager.java:672)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent
(DefaultKeyboardFocusManager.java:920)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions
(DefaultKeyboardFocusManager.java:798)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent
(DefaultKeyboardFocusManager.java:636)
	at java.awt.Component.dispatchEventImpl(Component.java:3841)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:515)
	at java.awt.Dialog.show(Dialog.java:536)
	at org.netbeans.core.windows.services.NbPresenter.superShow
(NbPresenter.java:800)
	at org.netbeans.core.windows.services.NbPresenter.doShow
(NbPresenter.java:843)
	at org.netbeans.core.windows.services.NbPresenter.run
(NbPresenter.java:831)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1146)
	at org.openide.util.Mutex.readAccess(Mutex.java:183)
	at org.netbeans.core.windows.services.NbPresenter.show
(NbPresenter.java:816)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at 
org.netbeans.modules.profiler.ui.panels.CpuPerformanceConfigPanelLarge.performEd
itGlobalFiltersAction(CpuPerformanceConfigPanelLarge.java:610)
	at 
org.netbeans.modules.profiler.ui.panels.CpuPerformanceConfigPanelLarge.actionPer
formed(CpuPerformanceConfigPanelLarge.java:559)
	at 
org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed
(NbPresenter.java:1064)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	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.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:515)
	at java.awt.Dialog.show(Dialog.java:536)
	at org.netbeans.core.windows.services.NbPresenter.superShow
(NbPresenter.java:800)
	at org.netbeans.core.windows.services.NbPresenter.doShow
(NbPresenter.java:843)
	at org.netbeans.core.windows.services.NbPresenter.run
(NbPresenter.java:831)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1146)
	at org.openide.util.Mutex.readAccess(Mutex.java:183)
	at org.netbeans.core.windows.services.NbPresenter.show
(NbPresenter.java:816)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at 
org.netbeans.modules.profiler.ui.panels.CpuPerformanceConfigPanelLarge.performCu
stomizeFilterSetsAction(CpuPerformanceConfigPanelLarge.java:591)
	at 
org.netbeans.modules.profiler.ui.panels.CpuPerformanceConfigPanelLarge.actionPer
formed(CpuPerformanceConfigPanelLarge.java:557)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	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.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:515)
	at java.awt.Dialog.show(Dialog.java:536)
	at org.netbeans.core.windows.services.NbPresenter.superShow
(NbPresenter.java:800)
	at org.netbeans.core.windows.services.NbPresenter.doShow
(NbPresenter.java:843)
	at org.netbeans.core.windows.services.NbPresenter.run
(NbPresenter.java:831)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1146)
	at org.openide.util.Mutex.readAccess(Mutex.java:183)
	at org.netbeans.core.windows.services.NbPresenter.show
(NbPresenter.java:816)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at 
org.netbeans.modules.profiler.actions.ProfilingSupport.selectTaskForProfiling
(ProfilingSupport.java:202)
	at org.netbeans.modules.profiler.actions.AntActions.doProfileProject
(AntActions.java:357)
	at org.netbeans.modules.profiler.actions.AntActions.access$000
(AntActions.java:47)
	at org.netbeans.modules.profiler.actions.AntActions$6.perform
(AntActions.java:269)
	at 
org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed
(MainProjectAction.java:98)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
	at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	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.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	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 Jiri Sedlacek 2005-12-08 18:33:49 UTC
Fixed for M12.
Comment 2 ehucka 2006-10-09 12:09:13 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:25:42 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:09:30 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.