[jboss-jira] [JBoss JIRA] Commented: (JGRP-424) pbcast.STATE_TRANSFER throws NullPointerException during serialization of StateHeader

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Feb 28 05:21:37 EST 2007


    [ http://jira.jboss.com/jira/browse/JGRP-424?page=comments#action_12354549 ] 
            
Bela Ban commented on JGRP-424:
-------------------------------

pbcast.STATE_TRANSFER.StateHeader does *not* use externalization. Instead, it uses Streamable, and writeTo() and readFrom() both check for null state_ids (Util.writeString(), Util.readString()).
Which version did this occur in ?

> pbcast.STATE_TRANSFER throws NullPointerException during serialization of StateHeader
> -------------------------------------------------------------------------------------
>
>                 Key: JGRP-424
>                 URL: http://jira.jboss.com/jira/browse/JGRP-424
>             Project: JGroups
>          Issue Type: Bug
>         Environment: JDK 1.4.2_13
>            Reporter: Daniel Hasler
>         Assigned To: Bela Ban
>
> The pbcast.STATE_TRANSFER.StateHeader class does not check if state_id is null during serialization. This leads in my case to a NullPointerException which stops the complete state transfer and results in two members that are not in sync.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list