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.
[#080226, jdk1.5.0] During editing a .jsp I got the: IllegalArgumentException: A node selection cannot contain nodes (h2) not underneath the root (null). It's a random issue, I saw it randomly in commit validation as well.
Created attachment 57281 [details] IllegalArgumentException
It happens very often on deadlock while running test of web application project. Please, look at it. http://deadlock.netbeans.org/hudson/job/testsHistory/ws/results/netbeans_validation/20080228054050/quality_engineering-validation/deadlock/testrun_080228-062934/testbag_1/htmlresults/suites/TEST-org.netbeans.test.j2ee.J2EEValidation.html#testWebApplication http://deadlock.netbeans.org/hudson/job/testsHistory/ws/results/netbeans_validation/matrix-netbeans_trunk-quality_engineering-validation-deadlock.html
Hopefully fixed in revision 9cbe12706410, please reopen if you encounter the problem in a build newer than from March 5th.
v.
*** Issue 128933 has been marked as a duplicate of this issue. ***
*** Issue 125735 has been marked as a duplicate of this issue. ***
Duplicates after fix in #125735
*** Issue 138152 has been marked as a duplicate of this issue. ***
It looks like it's not connected with jsp only. I obtain the same exception in PHP IDE without any JSP.
it is html specific
Build: NetBeans IDE Dev (Build 20080717031252) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-241 OS: Mac OS X, 10.4.11, i386 User Comments: expanded the WEB-INF node in the Projects window and double-clicked the web.xml file
Created attachment 64806 [details] stacktrace
Build: NetBeans IDE Dev (Build 080717) VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237 OS: Mac OS X, 10.5.4, i386 User Comments: exception raised after opening of hibernate.cfg.xml file
Created attachment 64820 [details] stacktrace
Product Version: NetBeans IDE Dev (Build 200807170007) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb) Steps to reproduce: Create new EJB project -> open file ejb-jar.xml in editor -> exception occurs(every time)
Created attachment 64825 [details] stacktrace
Build: NetBeans IDE Dev (Build 4575) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: testing with vw.next (wonder if this will get filed correctly) Stacktrace: java.lang.IllegalArgumentException: A node selection cannot contain nodes (DIV) not underneath the root (Hidden Outline Root). at org.openide.explorer.ExplorerManager.checkUnderRoot(ExplorerManager.java:573) at org.openide.explorer.ExplorerManager.access$300(ExplorerManager.java:87) at org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.checkArgumentIsValid(ExplorerManager.java:235) at org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.run(ExplorerManager.java:277) at org.openide.util.Mutex.readAccess(Mutex.java:362) at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:284)
Created attachment 65666 [details] stacktrace
looks like generic explorer problem. JSP, PHP, XML and other views has the same problem.
AFAIK there is nothing to fix in explorer. You are trying to select nodes which are not under root context.
*** Issue 140613 has been marked as a duplicate of this issue. ***
Closing this issue as invalid since is a lot of incorrectly duplicated issue. I filed new issue #142078 describing the original gsf navigator problem.