[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Updated: (XMLBEANS-131) XmlBeans ant task throws ArrayIndexOutOfBoundsException
From:       "Rajiv Bala (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-09-20 18:12:35
Message-ID: 665262113.1127239955529.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic