[
https://issues.apache.org/jira/browse/AXIS2-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rich Scheuerle reassigned AXIS2-1988:
-------------------------------------
Assignee: Rich Scheuerle
> Error during serialization results in corrupted stream
> ------------------------------------------------------
>
> Key: AXIS2-1988
> URL: https://issues.apache.org/jira/browse/AXIS2-1988
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Reporter: Ann Robinson
> Assigned To: Rich Scheuerle
> Attachments: patch.txt
>
>
> The kernel class org.apache.axis2.addressing.RelatesTo uses
> java.io.Serializable to handle saving and restoring its state. However, the
> RelatesTo object has an ArrayList, and if the serialization of the RelatesTo
> object encounters a NotSerializableError, then the stream could get corrupted
> since the default Java serialization doesn't handle errors very well.
> The fix is to change the RelatesTo class to use java.io.Externalizable so
> that errors encountered during the saving and restoring of the ArrayList can
> be handled better.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]