You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Unai Uribarri (JIRA)" <ax...@ws.apache.org> on 2005/01/10 10:46:12 UTC

[jira] Created: (AXISCPP-371) Error deserializing empty arrays

Error deserializing empty arrays
--------------------------------

         Key: AXISCPP-371
         URL: http://issues.apache.org/jira/browse/AXISCPP-371
     Project: Axis-C++
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.4 Final    
    Reporter: Unai Uribarri
 Attachments: DeserializeEmptyArray.diff

When the array length is 0, the deserialization routines fails.


-- 
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] Closed: (AXISCPP-371) Error deserializing empty arrays

Posted by "Mark Whitlock (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-371?page=history ]
     
Mark Whitlock closed AXISCPP-371:
---------------------------------

    Resolution: Fixed

I have reviewed, tested and committed the suggested fix.

> Error deserializing empty arrays
> --------------------------------
>
>          Key: AXISCPP-371
>          URL: http://issues.apache.org/jira/browse/AXISCPP-371
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization
>     Versions: 1.4 Final
>     Reporter: Unai Uribarri
>     Assignee: Mark Whitlock
>  Attachments: DeserializeEmptyArray.diff
>
> When the array length is 0, the deserialization routines fails.

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


Re: [jira] Updated: (AXISCPP-371) Error deserializing empty arrays

Posted by John Hawkins <HA...@uk.ibm.com>.
Why don't we throw  an exception instead of returning -1 ? Isn't that the 
more OO way of doing it?



John Hawkins





"Unai Uribarri (JIRA)" <ax...@ws.apache.org> 
10/01/2005 09:46
Please respond to
"Apache AXIS C Developers List"


To
axis-c-dev@ws.apache.org
cc

Subject
[jira] Updated: (AXISCPP-371) Error deserializing empty arrays






     [ http://issues.apache.org/jira/browse/AXISCPP-371?page=history ]

Unai Uribarri updated AXISCPP-371:
----------------------------------

    Attachment: DeserializeEmptyArray.diff

I've modified getArraySize to return -1 on error, and fixed the array 
deserialization routines

> Error deserializing empty arrays
> --------------------------------
>
>          Key: AXISCPP-371
>          URL: http://issues.apache.org/jira/browse/AXISCPP-371
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>     Reporter: Unai Uribarri
>  Attachments: DeserializeEmptyArray.diff
>
> When the array length is 0, the deserialization routines fails.

-- 
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: (AXISCPP-371) Error deserializing empty arrays

Posted by "Unai Uribarri (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-371?page=history ]

Unai Uribarri updated AXISCPP-371:
----------------------------------

    Attachment: DeserializeEmptyArray.diff

I've modified getArraySize to return -1 on error, and fixed the array deserialization routines

> Error deserializing empty arrays
> --------------------------------
>
>          Key: AXISCPP-371
>          URL: http://issues.apache.org/jira/browse/AXISCPP-371
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>     Reporter: Unai Uribarri
>  Attachments: DeserializeEmptyArray.diff
>
> When the array length is 0, the deserialization routines fails.

-- 
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] Assigned: (AXISCPP-371) Error deserializing empty arrays

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-371?page=history ]

John Hawkins reassigned AXISCPP-371:
------------------------------------

    Assign To: Mark Whitlock

Mark can check that this fix works and then close the issue

> Error deserializing empty arrays
> --------------------------------
>
>          Key: AXISCPP-371
>          URL: http://issues.apache.org/jira/browse/AXISCPP-371
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.4 Final
>     Reporter: Unai Uribarri
>     Assignee: Mark Whitlock
>  Attachments: DeserializeEmptyArray.diff
>
> When the array length is 0, the deserialization routines fails.

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