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.
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)
Steps to reproduce: - select search results root - click on the sort
Fixed in [release32] and [main-trunk] too.
Target milestone -> 3.2
Verified in dev 200304300100 and release32.
Resolved for 3.4.x or earlier, no new info since then -> closing.