[ 
https://issues.apache.org/jira/browse/DIRSERVER-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRSERVER-1653.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M3
         Assignee: Emmanuel Lecharny

Applied in http://svn.apache.org/viewvc?rev=1164817&view=rev

> using read() of ObjectInputStream while deserializing ReplicaEventMessage 
> causes random failures 
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1653
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1653
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>            Reporter: Selcuk Aya
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-M3
>
>         Attachments: replication1.diff
>
>
> While looking into replication tests, found out that we use read() of 
> ObjectInputStream to read an array of bytes. The specification says this 
> might return any number of bytes(in my case it always returned 1024). When 
> the serialized array is more than 1024 bytes, this causes random failures in 
> deserialization. readFully method should be used to read the expected number 
> of bytes. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to