Hi, it looks like you either hit a bug or happened to come across a usage scenario that has not been taken care of.
Can I ask you to raise a new ticket at http://jira.codehaus.org/browse/CASTOR and attach a MINIMAL set of XML schemas that allows us to replay the problem. If you happen to have e.g. 35 XML schemas, attaching all of them is not an option. Regards Werner KARR, DAVID (ATTCINW) wrote: > I was reading through the doc and noticed the > "extraDocumentationMethods" property, which I was curious about. I > tried setting it in my "castorBuilder.properties" file, and the > generator failed very quickly with the following: > > java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 > at java.util.Vector.elementAt(Unknown Source) > at > org.exolab.javasource.AbstractJClass.getConstructor(AbstractJClass.java: > 209) > at > org.exolab.castor.builder.factory.SourceFactory.generateExtraDocumentati > onMethods(SourceFactory.java:667) > at > org.exolab.castor.builder.factory.SourceFactory.extractAnnotations(Sourc > eFactory.java:638) > at > org.exolab.castor.builder.factory.SourceFactory.createSourceCode(SourceF > actory.java:991) > at > org.exolab.castor.builder.SourceGenerator.processSimpleType(SourceGenera > tor.java:1128) > at > org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator. > java:954) > at > org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGene > rator.java:1094) > at > org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGene > rator.java:1097) > at > org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGener > ator.java:1033) > at > org.exolab.castor.builder.SourceGenerator.generateAllClassFiles(SourceGe > nerator.java:802) > at > org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator > .java:752) > at > org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator > .java:696) > at > org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator > .java:593) > at > org.exolab.castor.builder.SourceGeneratorMain.main(SourceGeneratorMain.j > ava:312) > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

