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 207769 - IllegalArgumentException: getParent() called for DE (2144736584)["connection" (empty_tag) <0-0> ''] which is not in the elements list!
Summary: IllegalArgumentException: getParent() called for DE (2144736584)["connection"...
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 12:40 UTC by jaapio
Modified: 2012-12-27 07:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184782


Attachments
stacktrace (4.62 KB, text/plain)
2012-01-26 12:40 UTC, jaapio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaapio 2012-01-26 12:40:02 UTC
This bug was originally marked as duplicate of bug 154551, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 RC2 (Build 201111302200)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: getParent() called for DE (2144736584)["connection" (empty_tag) <0-0> ''] which is not in the elements list!
   at org.netbeans.modules.editor.structure.api.DocumentModel.getParent(DocumentModel.java:669)
   at org.netbeans.modules.editor.structure.api.DocumentElement.getParentElement(DocumentElement.java:255)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.updateModel(XMLDocumentModelProvider.java:205)
   at org.netbeans.modules.editor.structure.api.DocumentModel.updateModel(DocumentModel.java:512)
   at org.netbeans.modules.editor.structure.api.DocumentModel.access$000(DocumentModel.java:128)
   at org.netbeans.modules.editor.structure.api.DocumentModel$1.run(DocumentModel.java:191)
Comment 1 jaapio 2012-01-26 12:40:04 UTC
Created attachment 115274 [details]
stacktrace
Comment 2 Jan Becicka 2012-04-17 10:00:03 UTC
reassigning to xml for evaluation.
Comment 3 Svata Dedic 2012-10-03 13:26:28 UTC
Could not reproduce in 7.3dev. I would probably need the exact file contents which exhibit this defect.
Comment 4 jaapio 2012-12-27 07:21:01 UTC
I'm sorry. I can't give you the file, company policy. When I see this exception again I will submit an other bug when it is possible to add a file.