[ http://issues.apache.org/jira/browse/XMLBEANS-131?page=all ]
Rajiv Bala updated XMLBEANS-131: -------------------------------- Description: I am using the XMLBeans 2.0 beta. Specifically I am using the Extensions capability that is built in with this version. If I have a function with more than 2 parameters, for example: public EventRef createEventRef(String identifier, String href, String temp); in my interface and handler, the xmlbeans ant task to generate a jar file will throw this error: java.lang.ArrayIndexOutOfBoundsException: 2 If I take the String temp out: public EventRef createEventRef(String identifier, String href); it works perfectly. Thank You. was: I am using the XMLBeans 2.0 beta. Specifically I am using the Extensions capability that is built in with this version. If I have a function with more than 2 parameters, for example: public EventRef createEventRef(String identifier, String href, String temp); in my interface and handler, the xmlbeans ant task to generate a jar file will throw this error: java.lang.ArrayIndexOutOfBoundsException: 2 If I take the String temp out: public EventRef createEventRef(String identifier, String href); it works perfectly. Thank You. Environment: Windows XP jdk 1.4.06 ant 1.6 was: Windows XP jdk 1.4.06 ant 1.6 Assign To: Radu Preotiuc-Pietro (was: Rajiv Bala) > XmlBeans ant task throws ArrayIndexOutOfBoundsException > ------------------------------------------------------- > > Key: XMLBEANS-131 > URL: http://issues.apache.org/jira/browse/XMLBEANS-131 > Project: XMLBeans > Type: Bug > Components: Binding > Versions: Version 2 Beta 1 > Environment: Windows XP > jdk 1.4.06 > ant 1.6 > Reporter: Roshan Punnoose > Assignee: Radu Preotiuc-Pietro > > I am using the XMLBeans 2.0 beta. Specifically I am using the Extensions > capability that is built in with this version. > If I have a function with more than 2 parameters, for example: > public EventRef createEventRef(String identifier, String href, String temp); > in my interface and handler, the xmlbeans ant task to generate a jar file > will throw this error: > java.lang.ArrayIndexOutOfBoundsException: 2 > If I take the String temp out: > public EventRef createEventRef(String identifier, String href); > it works perfectly. > Thank You. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]