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 213211 - IndexOutOfBoundsException: Index: 0
Summary: IndexOutOfBoundsException: Index: 0
Status: RESOLVED DUPLICATE of bug 209628
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 05:54 UTC by jocke
Modified: 2012-09-11 13:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144796


Attachments
stacktrace (1.08 KB, text/plain)
2012-05-30 05:54 UTC, jocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2012-05-30 05:54:17 UTC
Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

User Comments:
barmeier: I tried to load a malformed pom.xml

GUEST: Cut and paste xml element in pom.xml file

jocke: ...




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0
   at java.util.Collections$EmptyList.get(Collections.java:2970)
   at org.netbeans.modules.xml.xdm.nodes.XMLSyntaxParser.parse(XMLSyntaxParser.java:152)
   at org.netbeans.modules.xml.xdm.XDMModel.prepareSync(XDMModel.java:179)
   at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:159)
   at org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:156)
   at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:283)
Comment 1 jocke 2012-05-30 05:54:23 UTC
Created attachment 120035 [details]
stacktrace
Comment 2 Svata Dedic 2012-09-11 13:26:53 UTC

*** This bug has been marked as a duplicate of bug 209628 ***