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 154551 - IllegalArgumentException: getParent() called for DE (21281982)["action" (tag) <0-0> ''] which is not in the elements list!
Summary: IllegalArgumentException: getParent() called for DE (21281982)["action" (tag)...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL: http://statistics.netbeans.org/except...
Keywords:
: 154552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-04 05:15 UTC by shivakottana
Modified: 2011-11-15 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 67021


Attachments
stacktrace (938 bytes, text/plain)
2008-12-04 05:15 UTC, shivakottana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shivakottana 2008-12-04 05:15:05 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments:
GUEST: saving a web.xml
copying contents of an old web.xml on another ide (eclipse) and pasting to this new one on netbeans



Stacktrace: 
java.lang.IllegalArgumentException: getParent() called for DE (21281982)["action" (tag) <0-0> ''] which is not in the elements list!
        at org.netbeans.modules.editor.structure.api.DocumentModel.getParent(DocumentModel.java:666)
        at org.netbeans.modules.editor.structure.api.DocumentElement.getParentElement(DocumentElement.java:252)
        at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.updateModel(XMLDocumentModelProvider.java:202)
        at org.netbeans.modules.editor.structure.api.DocumentModel.updateModel(DocumentModel.java:509)
        at org.netbeans.modules.editor.structure.api.DocumentModel.access$000(DocumentModel.java:125)
        at org.netbeans.modules.editor.structure.api.DocumentModel$1.run(DocumentModel.java:188)
Comment 1 shivakottana 2008-12-04 05:15:59 UTC
Created attachment 74506 [details]
stacktrace
Comment 2 Samaresh Panda 2008-12-11 03:40:26 UTC
*** Issue 154552 has been marked as a duplicate of this issue. ***
Comment 3 Sergey Lunegov 2009-05-08 14:56:54 UTC
Nikita, please take a look.
Comment 4 Exceptions Reporter 2009-08-19 10:19:00 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=67021
Comment 5 Svata Dedic 2011-11-15 13:15:21 UTC
WFM, reproduction steps on a newer build would be helpful.