You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/09/22 03:13:38 UTC
[jira] Commented: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
The following comment has been added to this issue:
Author: Nelson Minar
Created: Tue, 21 Sep 2004 6:12 PM
Body:
Was this marked fix because of the patch I submitted as part of bug 1485 http://nagoya.apache.org/jira/browse/AXIS-1485?
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1329?page=comments#action_53302
---------------------------------------------------------------------
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: Tue, 21 Sep 2004 6:12 PM
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