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.
NB 5.0 dev build 20050909 IndexOutOfBoundsException thrown when editing XML file. Steps to reproduce: 1) open XML file 2) edit it (add some lines with text) -> java.lang.IndexOutOfBoundsException: Index: -1, Size: 3 at java.util.ArrayList.add(ArrayList.java:369) at org.netbeans.modules.xml.text.navigator.TreeNodeAdapter.elementAdded(TreeNodeAdapter.java:264) at org.netbeans.modules.editor.structure.api.DocumentElement.fireDocumentElementEvent(DocumentElement.java:275)
Created attachment 24664 [details] exception
I can reproduce it. [nb 5.0 dev 200509122200, JDK 1.5.0_05 b03, solaris 10/sparc]
Once upon a time, this exception pops up, and from then on, editing of an XML is impossible. Exception alert pops up after each few typed chacters.
Fixed couple of minutes ago. *** This issue has been marked as a duplicate of 64081 ***
Verifying as duplicate issue.