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 244387 - IllegalArgumentException: ancestor == descendant!!!
Summary: IllegalArgumentException: ancestor == descendant!!!
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-08 15:40 UTC by dkkopp
Modified: 2016-07-07 09:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 23737


Attachments
stacktrace (1.17 KB, text/plain)
2014-05-08 15:40 UTC, dkkopp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dkkopp 2014-05-08 15:40:02 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Mac OS X

User Comments:
GUEST: Editing an xml document,
deleted some text from element content that contained XML entities

fmonsalvo: I was editing a xsl file, changing some fields order.

dkkopp: Just working

GUEST: 1




Stacktrace: 
java.lang.IllegalArgumentException: ancestor == descendant!!!
   at org.netbeans.modules.editor.structure.api.DocumentModel.isDescendantOf(DocumentModel.java:322)
   at org.netbeans.modules.editor.structure.api.DocumentModel.getChildren(DocumentModel.java:635)
   at org.netbeans.modules.editor.structure.api.DocumentElement.getChildren(DocumentElement.java:299)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.getDescendantsOfNotSkippedElements(XMLDocumentModelProvider.java:474)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.generateDocumentElements(XMLDocumentModelProvider.java:452)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.updateModel(XMLDocumentModelProvider.java:266)
Comment 1 dkkopp 2014-05-08 15:40:05 UTC
Created attachment 147187 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 09:56:16 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss