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 ji...@apache.org on 2004/04/21 19:39:53 UTC
[jira] Created: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Unassigned
Priority: Critical
Project: Axis
Components:
Serialization/Deserialization
Versions:
1.2 Beta
Assignee:
Reporter: Paulo Soares
Created: Wed, 21 Apr 2004 10:39 AM
Updated: Wed, 21 Apr 2004 10:39 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
[jira] Updated: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Posted by ji...@apache.org.
The following issue has been updated:
Updater: Paulo Soares (mailto:psoares@consiste.pt)
Date: Wed, 21 Apr 2004 10:41 AM
Changes:
Attachment changed to wsfile.wsdl
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/AXIS-1329?page=history
---------------------------------------------------------------------
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: Unassigned
Priority: Critical
Project: Axis
Components:
Serialization/Deserialization
Versions:
1.2 Beta
Assignee:
Reporter: Paulo Soares
Created: Wed, 21 Apr 2004 10:39 AM
Updated: Wed, 21 Apr 2004 10:41 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
[jira] Resolved: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Posted by ax...@ws.apache.org.
Message:
The following issue has been resolved as FIXED.
Resolver: Glen Daniels
Date: Tue, 21 Sep 2004 5:12 PM
Fixed in latest CVS.
---------------------------------------------------------------------
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 5: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
[jira] Commented: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Posted by ax...@ws.apache.org.
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
[jira] Commented: (AXIS-1329) java.lang.ArrayStoreException with one array element but not with more
Posted by ax...@ws.apache.org.
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