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 10538 - IAE at ResultViewTopComponent.jRadioButton1ActionPerformed
Summary: IAE at ResultViewTopComponent.jRadioButton1ActionPerformed
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-21 14:08 UTC by _ pkuzel
Modified: 2003-07-01 15:32 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 _ pkuzel 2001-03-21 14:08:35 UTC
I clicked at search results on "sort by name". It sorted but the exception
was thrown. Sound like a race condition, can not reproduce.

Wed Mar 21 15:03:59 GMT+01:00 2001java.lang.IllegalArgumentException: A node
selection cannot contain nodes (Found 3 matching nodes.) not underneath the root
(Found 3 matching nodes.).
java.lang.IllegalArgumentException: A node selection cannot contain nodes (Found
3 matching nodes.) not underneath the root (Found 3 matching nodes.).
        at
org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:138)
        at
org.netbeans.modules.search.ResultViewTopComponent.jRadioButton1ActionPerformed(ResultViewTopComponent.java:362)
        at
org.netbeans.modules.search.ResultViewTopComponent.access$500(ResultViewTopComponent.java:64)
        at
org.netbeans.modules.search.ResultViewTopComponent$5.actionPerformed(ResultViewTopComponent.java:244)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at
javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:268)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
        at java.awt.Component.processMouseEvent(Component.java:3717)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 _ pkuzel 2001-03-21 14:10:39 UTC
Steps to reproduce:
- select search results root
- click on the sort
Comment 2 Peter Zavadsky 2001-03-21 18:12:03 UTC
Fixed in [release32] and [main-trunk] too.
Comment 3 Jan Chalupa 2001-05-06 15:24:32 UTC
Target milestone -> 3.2
Comment 4 pfelenda 2003-04-30 10:38:11 UTC
Verified in dev 200304300100 and release32.
Comment 5 Quality Engineering 2003-07-01 15:32:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.