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.
Build: NetBeans IDE 6.9 (Build 201011082200) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Windows 7 User Comments: GUEST: Generating a DTD from an XMl. The XML already had a DTD. The files are in my local drive, but outside of my opened project. GUEST: Loading Hibernate 3.0 Mapping XML Grammar GUEST: CTRL+SPACE on an XML element that has a DTD attached Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 3 at org.apache.xml.resolver.readers.TextCatalogReader.nextToken(TextCatalogReader.java:249) at org.apache.xml.resolver.readers.TR9401CatalogReader.readCatalog(TR9401CatalogReader.java:81) at org.apache.xml.resolver.Catalog.parseCatalog(Catalog.java:682) at org.netbeans.modules.xml.catalog.impl.sun.Catalog.createPeer(Catalog.java:284) at org.netbeans.modules.xml.catalog.impl.sun.Catalog.getPeer(Catalog.java:313) at org.netbeans.modules.xml.catalog.impl.sun.Catalog.resolveEntity(Catalog.java:252)
Created attachment 103401 [details] stacktrace
Please attach contents of the user catalogs mounted in Tools > DTD and XML schemas. It seems that content of some of them may be malformed, triggering a bug in Apache catalog impl.