Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-131

ArrayIndexOutOfBoundsException when extension defines overloaded methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Version 2 Beta 1
    • None
    • Binding
    • None
    • Windows XP
      jdk 1.4.06
      ant 1.6

    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.

      Attachments

        Activity

          People

            cezar Cezar Cristian Andrei
            punnooser Roshan Punnoose
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: