[jboss-jira] [JBoss JIRA] Commented: (JGRP-424) pbcast.STATE_TRANSFER throws NullPointerException during serialization of StateHeader
Daniel Hasler (JIRA)
jira-events at lists.jboss.org
Wed Feb 28 06:21:39 EST 2007
[ http://jira.jboss.com/jira/browse/JGRP-424?page=comments#action_12354552 ]
Daniel Hasler commented on JGRP-424:
------------------------------------
Thanks for the quick response.
It occurred in 2.4.1.
I use JMS as the transport protocol wich serializes whole org.jgroups.Message objects into a JMS ObjectMessage. I think during this process writeExternal()/readExternal() is called? writeUTF() simply throws a NullPointerException if the String object is null.
BTW: I'm stuck with JDK 1.4.2, so upgrading to 2.5 is not an option for me...
> 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
> Fix For: 2.5
>
>
> 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