axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Commented: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Date Wed, 22 Sep 2004 11:45:38 GMT
The following comment has been added to this issue:

     Author: Glen Daniels
    Created: Wed, 22 Sep 2004 4:44 AM
       Body:
Hi Nelson! :)

No, this was fixed by my fixing what I perceived to be a mistake in our conversion routine.
 I'm testing a slightly modified version of your patch (I'm also checking that the type of
the actual parameter matches the componentType of the desired array) now, and will commit
it if all goes well.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1329?page=comments#action_53318

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1329

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1329
    Summary: java.lang.ArrayStoreException with one array element but not with more
       Type: Bug

     Status: Resolved
   Priority: Critical
 Resolution: FIXED

    Project: Axis
 Components: 
             Serialization/Deserialization
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Paulo Soares

    Created: Wed, 21 Apr 2004 10:39 AM
    Updated: Wed, 22 Sep 2004 4:44 AM
Environment: win xp, jdk 1.4.2_02, netbeans 3.6 with tomcat 5.0.19

Description:
I've create a wsdl with Java2WSDL that I attach. I've then created the client and server with
WSDL2Java.
One of the methods has the signature:

public fileserve_server.FileAttributes[] getAttributesAllDir(java.lang.String getAttributesAllDirIn0,
byte[][] getAttributesAllDirIn1)

When it's invoked with getAttributesAllDirIn1 with a single element it throws the exception
java.lang.ArrayStoreException. If it has more than one element it works ok. I tested it with
the java client, xml spy and soapscope with the same results.

To summarize, calling in the client with:

getAttributesAllDir("abc", new byte[][]{new byte[]{10,20}});

throws the exception. But:

getAttributesAllDir("abc", new byte[][]{new byte[]{10,20},new byte[]{11,22}});

works well.

Best Regards,
Paulo Soares





---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message