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.
[dev build 050728, JDK 1.5.0-b64] I'm trying to generate a skeleton arch.xml file for the db module. Running ant javadoc ends with the following message: javadoc-stage-arch: [arch] Reading project from /usr/local/dev/nb_all/db/nbproject/project.xml [arch] Transforming /usr/local/dev/nb_all/db/arch.xml into /usr/local/dev/nb_all/nbbuild/build/javadoc/org-netbeans-modules-db/architecture-summary.html [arch] ERROR: 'java.lang.ArrayIndexOutOfBoundsException: -1' BUILD FAILED /usr/local/dev/nb_all/nbbuild/templates/projectized.xml:77: The following error occurred while executing this line: /usr/local/dev/nb_all/nbbuild/javadoctools/template.xml:288: javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.lang.ArrayIndexOutOfBoundsException: -1 To experience, try to generate an arch.xml for the db module on the db_promo_f branch.
I have only seen this when using Mustang (though I cannot reproduce in this example); using JDK 1.5.0_04 works for me when Mustang fails. Probably a JAXP bug (in XSLTC).
I cannot reproduce it. I tried cd db ant arch cvs upd -r db_promo_f ant arch and everything succeeded.
Indeed, it works now.