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 61492 - AIOOBE while generating a skeleton arch.xml with "ant javadoc"
Summary: AIOOBE while generating a skeleton arch.xml with "ant javadoc"
Status: VERIFIED WORKSFORME
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 10:15 UTC by Andrei Badea
Modified: 2005-09-26 10:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2005-07-28 10:15:33 UTC
[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.
Comment 1 Jesse Glick 2005-07-28 18:54:52 UTC
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).
Comment 2 Jaroslav Tulach 2005-09-25 05:46:36 UTC
I cannot reproduce it. I tried 
 
cd db 
ant arch 
cvs upd -r db_promo_f 
ant arch 
 
and everything succeeded. 
Comment 3 Andrei Badea 2005-09-26 10:08:59 UTC
Indeed, it works now.