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 101270 - IllegalArgumentException: ancestor == descendant!!!
Summary: IllegalArgumentException: ancestor == descendant!!!
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 101148 101326 101329 102772 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-17 08:49 UTC by Marian Mirilovic
Modified: 2007-09-25 01:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack-trace + debug info (15.34 KB, text/plain)
2007-04-17 08:50 UTC, Marian Mirilovic
Details
xml file (6.65 KB, text/plain)
2007-04-17 08:57 UTC, Marian Mirilovic
Details
Jarda's file to reproduce (46.23 KB, text/plain)
2007-04-17 13:05 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2007-04-17 08:49:49 UTC
I am getting this exception(see attachment) after each modification of xml file
(see attachment).
Comment 1 Marian Mirilovic 2007-04-17 08:50:58 UTC
Created attachment 41037 [details]
Exception stack-trace + debug info
Comment 2 Marian Mirilovic 2007-04-17 08:57:35 UTC
Created attachment 41038 [details]
xml file
Comment 3 Petr Blaha 2007-04-17 12:51:05 UTC
*** Issue 101326 has been marked as a duplicate of this issue. ***
Comment 4 Petr Blaha 2007-04-17 12:53:18 UTC
*** Issue 101329 has been marked as a duplicate of this issue. ***
Comment 5 Petr Blaha 2007-04-17 12:54:58 UTC
Changing priority to P1 since three duplicates are reported in the last hour.
Comment 6 Marek Fukala 2007-04-17 13:04:39 UTC
Jarda Pospisil provided me following testing scenario:
1) open attached xml file
2) go to line 346, column 29
3) put some spaces between the attributes
4) delete them and put back
=> after a few edits the $subject exception is thrown.

Hopefuly fixed, at least I cannot reproduce on a testcase provided by Jarda
Pospisil. 

Checking in
text-edit/src/org/netbeans/modules/xml/text/structure/XMLDocumentModelProvider.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/structure/XMLDocumentModelProvider.java,v
 <--  XMLDocumentModelProvider.java
new revision: 1.20; previous revision: 1.19
done
Checking in
tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentModel.java;
/cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentModel.java,v
 <--  DocumentModel.java
new revision: 1.34; previous revision: 1.33
done
Comment 7 Marek Fukala 2007-04-17 13:05:30 UTC
Created attachment 41072 [details]
Jarda's file to reproduce
Comment 8 Marek Fukala 2007-04-17 15:34:03 UTC
*** Issue 101148 has been marked as a duplicate of this issue. ***
Comment 9 Marian Mirilovic 2007-04-18 20:59:01 UTC
I haven't seen it more in NB Dev (200704180000) - verified
Comment 10 Petr Blaha 2007-04-27 14:29:45 UTC
*** Issue 102772 has been marked as a duplicate of this issue. ***