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 "Werner Gresshoff (JIRA)" <ax...@ws.apache.org> on 2005/10/07 12:04:50 UTC

[jira] Created: (AXIS-2249) CLONE -Array deserialization

CLONE -Array deserialization
----------------------------

         Key: AXIS-2249
         URL: http://issues.apache.org/jira/browse/AXIS-2249
     Project: Apache Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC3    
 Environment: JOnAS 4.3.3
    Reporter: Werner Gresshoff
 Assigned to: Guillaume Sauthier 
    Priority: Blocker


When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!

The problem only occurs when using Array with Helper :

ArrayofBook
-> Book[] arrayOfBook
+
ArrayOfBook_Helper

I'll attach a patch for test.holders that reproduce this problem.
failures will appear for testInOutBookArray

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2249) CLONE -Array deserialization

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2249?page=comments#action_12331606 ] 

Tom Jordahl commented on AXIS-2249:
-----------------------------------

FYI 
Around Axis 1.1 the array code was changed to not allocate the size of the array as specified in the SOAP to protect against a DOS attach where a malicious person could POST a small amount of XML that claims to need a 1,000,000,000 size array of something.


> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2249
>          URL: http://issues.apache.org/jira/browse/AXIS-2249
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Werner Gresshoff
>     Assignee: Guillaume Sauthier
>     Priority: Blocker
>  Attachments: TestWS.tar.gz
>
> When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
> The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!
> The problem only occurs when using Array with Helper :
> ArrayofBook
> -> Book[] arrayOfBook
> +
> ArrayOfBook_Helper
> I'll attach a patch for test.holders that reproduce this problem.
> failures will appear for testInOutBookArray

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2249) CLONE -Array deserialization

Posted by "Werner Gresshoff (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2249?page=comments#action_12331578 ] 

Werner Gresshoff commented on AXIS-2249:
----------------------------------------

I'm running in the same bug when using JBoss 4.0.2 as Server and the latest nightly (1.3 from August, 31). I'll attach the generated code,
the wsdl and the log file...

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2249
>          URL: http://issues.apache.org/jira/browse/AXIS-2249
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Werner Gresshoff
>     Assignee: Guillaume Sauthier
>     Priority: Blocker
>  Attachments: TestWS.tar.gz
>
> When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
> The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!
> The problem only occurs when using Array with Helper :
> ArrayofBook
> -> Book[] arrayOfBook
> +
> ArrayOfBook_Helper
> I'll attach a patch for test.holders that reproduce this problem.
> failures will appear for testInOutBookArray

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-2249) CLONE -Array deserialization

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2249?page=all ]

Davanum Srinivas updated AXIS-2249:
-----------------------------------

    Description: 
When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!

The problem only occurs when using Array with Helper :

ArrayofBook
-> Book[] arrayOfBook
+
ArrayOfBook_Helper

I'll attach a patch for test.holders that reproduce this problem.
failures will appear for testInOutBookArray

  was:
When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!

The problem only occurs when using Array with Helper :

ArrayofBook
-> Book[] arrayOfBook
+
ArrayOfBook_Helper

I'll attach a patch for test.holders that reproduce this problem.
failures will appear for testInOutBookArray

       Priority: Critical  (was: Blocker)

Guillaume, 

Am reducing the priority on this. ok?

thanks,
dims

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2249
>          URL: http://issues.apache.org/jira/browse/AXIS-2249
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Werner Gresshoff
>     Assignee: Guillaume Sauthier
>     Priority: Critical
>  Attachments: TestWS.tar.gz
>
> When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
> The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!
> The problem only occurs when using Array with Helper :
> ArrayofBook
> -> Book[] arrayOfBook
> +
> ArrayOfBook_Helper
> I'll attach a patch for test.holders that reproduce this problem.
> failures will appear for testInOutBookArray

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-2249) CLONE -Array deserialization

Posted by "Werner Gresshoff (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2249?page=all ]

Werner Gresshoff updated AXIS-2249:
-----------------------------------

    Attachment: TestWS.tar.gz

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2249
>          URL: http://issues.apache.org/jira/browse/AXIS-2249
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Werner Gresshoff
>     Assignee: Guillaume Sauthier
>     Priority: Blocker
>  Attachments: TestWS.tar.gz
>
> When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
> The SOAP Message contains 3 elements of the array, but the constructed array only has the last element. So its size is 1, instead of 3!
> The problem only occurs when using Array with Helper :
> ArrayofBook
> -> Book[] arrayOfBook
> +
> ArrayOfBook_Helper
> I'll attach a patch for test.holders that reproduce this problem.
> failures will appear for testInOutBookArray

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira