axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
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:

View the issue:

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
             1.2 Beta

   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

I've create a wsdl with Java2WSDL that I attach. I've then created the client and server with
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

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message