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

ArrayIndexOutOfBoundsException when extension defines overloaded methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Version 2 Beta 1
    • Fix Version/s: None
    • Component/s: Binding
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: