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 128452 - IllegalArgumentException: A node selection cannot contain nodes (h2) not underneath the root (null).
Summary: IllegalArgumentException: A node selection cannot contain nodes (h2) not unde...
Status: RESOLVED INVALID
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 128933 138152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-26 15:45 UTC by Martin Schovanek
Modified: 2009-05-18 10:47 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalArgumentException (2.97 KB, text/plain)
2008-02-26 15:45 UTC, Martin Schovanek
Details
stacktrace (10.06 KB, text/plain)
2008-07-17 09:30 UTC, Kenneth Ganfield
Details
stacktrace (9.77 KB, text/plain)
2008-07-17 10:48 UTC, Jan Horvath
Details
stacktrace (5.97 KB, text/plain)
2008-07-17 11:47 UTC, Petr Cyhelsky
Details
stacktrace (3.05 KB, text/plain)
2008-07-25 19:24 UTC, _ krystyna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2008-02-26 15:45:19 UTC
[#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.
Comment 1 Martin Schovanek 2008-02-26 15:45:52 UTC
Created attachment 57281 [details]
IllegalArgumentException
Comment 3 Marek Fukala 2008-03-06 14:58:20 UTC
Hopefully fixed in revision 9cbe12706410, please reopen if you encounter the problem in a build newer than from March 5th.
Comment 4 Martin Schovanek 2008-03-06 15:28:01 UTC
v.
Comment 5 Jiri Skrivanek 2008-03-10 08:23:12 UTC
*** Issue 128933 has been marked as a duplicate of this issue. ***
Comment 6 t_h 2008-06-05 16:57:40 UTC
*** Issue 125735 has been marked as a duplicate of this issue. ***
Comment 7 t_h 2008-06-17 13:51:53 UTC
*** Issue 125735 has been marked as a duplicate of this issue. ***
Comment 8 t_h 2008-06-17 13:56:20 UTC
Duplicates after fix in #125735
Comment 9 Petr Pisl 2008-06-24 21:41:27 UTC
*** Issue 138152 has been marked as a duplicate of this issue. ***
Comment 10 Petr Pisl 2008-06-27 10:36:23 UTC
It looks like it's not connected with jsp only. I obtain the same exception in PHP IDE without any JSP.
Comment 11 Marek Fukala 2008-06-27 12:27:29 UTC
it is html specific
Comment 12 Kenneth Ganfield 2008-07-17 09:30:22 UTC
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
Comment 13 Kenneth Ganfield 2008-07-17 09:30:31 UTC
Created attachment 64806 [details]
stacktrace
Comment 14 Jan Horvath 2008-07-17 10:48:33 UTC
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
Comment 15 Jan Horvath 2008-07-17 10:48:37 UTC
Created attachment 64820 [details]
stacktrace
Comment 16 Petr Cyhelsky 2008-07-17 11:46:55 UTC
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)
Comment 17 Petr Cyhelsky 2008-07-17 11:47:27 UTC
Created attachment 64825 [details]
stacktrace
Comment 18 _ krystyna 2008-07-25 19:24:49 UTC
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)
Comment 19 _ krystyna 2008-07-25 19:24:58 UTC
Created attachment 65666 [details]
stacktrace
Comment 20 Marek Fukala 2008-07-29 10:34:56 UTC
looks like generic explorer problem. JSP, PHP, XML and other views has the same problem.
Comment 21 t_h 2008-07-29 10:57:05 UTC
AFAIK there is nothing to fix in explorer. You are trying to select nodes which are not under root context.
Comment 22 t_h 2008-07-29 12:59:35 UTC
*** Issue 140613 has been marked as a duplicate of this issue. ***
Comment 23 Marek Fukala 2008-07-29 14:54:46 UTC
Closing this issue as invalid since is a lot of incorrectly duplicated issue. I filed new issue #142078 describing the
original gsf navigator problem.