[
https://issues.jboss.org/browse/JGRP-1443?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1443:
--------------------------------
The marshalling fix basically prevents the NPE, but we can end up with a view that's
greater than the digest. Should investigate some day, but this is exactly the way it was
before when we marshalled the view and digest separately. It was OK then, so I suppose it
is OK now...
Null pointer exception testing proposed fix for JGRP-1426
---------------------------------------------------------
Key: JGRP-1443
URL:
https://issues.jboss.org/browse/JGRP-1443
Project: JGroups
Issue Type: Bug
Affects Versions: 3.0.8
Reporter: David Hotham
Assignee: Bela Ban
Fix For: 3.0.9, 3.1
Attachments: jgroups-3.0.9.Final.jar
Per email exchange: testing a proposed fix for JGRP-1426, I hit the following exception:
SEVERE: failed sending message to 10.239.0.5 (185 bytes):
java.lang.NullPointerException, cause: null
java.lang.NullPointerException
at org.jgroups.protocols.pbcast.JoinRsp.writeTo(JoinRsp.java:90)
at org.jgroups.util.Util.writeStreamable(Util.java:934)
at org.jgroups.protocols.pbcast.GMS$GmsHeader.writeTo(GMS.java:1155)
at org.jgroups.Message.writeHeader(Message.java:891)
at org.jgroups.Message.writeTo(Message.java:698)
at org.jgroups.protocols.TP.writeMessage(TP.java:1367)
at org.jgroups.protocols.TP.send(TP.java:1279)
at org.jgroups.protocols.TP.down(TP.java:1138)
at org.jgroups.protocols.Discovery.down(Discovery.java:573)
at org.jgroups.protocols.TCPPING.down(TCPPING.java:108)
at org.jgroups.protocols.MERGE3.down(MERGE3.java:242)
at org.jgroups.protocols.FD.down(FD.java:308)
at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:80)
at org.jgroups.protocols.pbcast.NAKACK2.down(NAKACK2.java:493)
at org.jgroups.protocols.UNICAST2.down(UNICAST2.java:502)
at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:328)
at org.jgroups.protocols.pbcast.GMS.sendJoinResponse(GMS.java:543)
at
org.jgroups.protocols.pbcast.CoordGmsImpl.handleMembershipChange(CoordGmsImpl.java:156)
at org.jgroups.protocols.pbcast.GMS$ViewHandler.process(GMS.java:1390)
at org.jgroups.protocols.pbcast.GMS$ViewHandler.run(GMS.java:1344)
at java.lang.Thread.run(Thread.java:662)
You said:
{quote}
ah, ok, this is a change I made recently, to reduce the size of digests.
Can you open a JIRA so we can track this ?
I'll fix it this week.
{quote}
... so here we are.
Thanks!
David
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira