[
https://issues.jboss.org/browse/JGRP-1882?page=com.atlassian.jira.plugin....
]
Bela Ban updated JGRP-1882:
---------------------------
Fix Version/s: 3.5.1
3.6
Description:
JGroups version: 3.5.0 final
{noformat}
Caused by: java.lang.NullPointerException
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:225)
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:192)
at org.jgroups.protocols.JDBC_PING.findMembers(Katalis.java:128)
at org.jgroups.protocols.Discovery.findMembers(Katalis.java:226)
at org.jgroups.protocols.Discovery.down(Katalis.java:366)
at org.jgroups.protocols.JDBC_PING.down(Katalis.java:124)
at org.jgroups.protocols.MERGE2.down(Katalis.java:222)
at org.jgroups.protocols.FD_SOCK.down(Katalis.java:356)
at org.jgroups.protocols.FD_ALL.down(Katalis.java:233)
at org.jgroups.protocols.VERIFY_SUSPECT.down(Katalis.java:92)
at org.jgroups.protocols.pbcast.NAKACK2.down(Katalis.java:551)
at org.jgroups.protocols.UNICAST2.down(Katalis.java:584)
at org.jgroups.protocols.pbcast.STABLE.down(Katalis.java:347)
at org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(Katalis.java:76)
at org.jgroups.protocols.pbcast.ClientGmsImpl.join(Katalis.java:41)
at org.jgroups.protocols.pbcast.GMS.down(Katalis.java:1084)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FRAG2.down(Katalis.java:136)
at org.jgroups.protocols.RSVP.down(Katalis.java:145)
at org.jgroups.stack.ProtocolStack.down(Katalis.java:1039)
at org.jgroups.JChannel.down(Katalis.java:785)
at org.jgroups.JChannel._connect(Katalis.java:558)
... 40 more
{noformat}
I suspect that data is null. The code in line 225 is
{code}
if(local_addr != null && !local_addr.equals(data.getAddress()))
addDiscoveryResponseToCaches(data.getAddress(), data.getLogicalName(),
data.getPhysicalAddr());
{code}
was:
JGroups version: 3.5.0 final
{noformat}
Caused by: java.lang.NullPointerException
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:225)
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:192)
at org.jgroups.protocols.JDBC_PING.findMembers(Katalis.java:128)
at org.jgroups.protocols.Discovery.findMembers(Katalis.java:226)
at org.jgroups.protocols.Discovery.down(Katalis.java:366)
at org.jgroups.protocols.JDBC_PING.down(Katalis.java:124)
at org.jgroups.protocols.MERGE2.down(Katalis.java:222)
at org.jgroups.protocols.FD_SOCK.down(Katalis.java:356)
at org.jgroups.protocols.FD_ALL.down(Katalis.java:233)
at org.jgroups.protocols.VERIFY_SUSPECT.down(Katalis.java:92)
at org.jgroups.protocols.pbcast.NAKACK2.down(Katalis.java:551)
at org.jgroups.protocols.UNICAST2.down(Katalis.java:584)
at org.jgroups.protocols.pbcast.STABLE.down(Katalis.java:347)
at org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(Katalis.java:76)
at org.jgroups.protocols.pbcast.ClientGmsImpl.join(Katalis.java:41)
at org.jgroups.protocols.pbcast.GMS.down(Katalis.java:1084)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FRAG2.down(Katalis.java:136)
at org.jgroups.protocols.RSVP.down(Katalis.java:145)
at org.jgroups.stack.ProtocolStack.down(Katalis.java:1039)
at org.jgroups.JChannel.down(Katalis.java:785)
at org.jgroups.JChannel._connect(Katalis.java:558)
... 40 more
{noformat}
I suspect that data is null. The code in line 225 is
{code}
if(local_addr != null && !local_addr.equals(data.getAddress()))
addDiscoveryResponseToCaches(data.getAddress(), data.getLogicalName(),
data.getPhysicalAddr());
{code}
Possible NullPointerException in JDBC_PING
------------------------------------------
Key: JGRP-1882
URL:
https://issues.jboss.org/browse/JGRP-1882
Project: JGroups
Issue Type: Bug
Affects Versions: 3.5
Environment: Windows Server 2012
Reporter: Thomas Santosa
Assignee: Bela Ban
Fix For: 3.5.1, 3.6
JGroups version: 3.5.0 final
{noformat}
Caused by: java.lang.NullPointerException
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:225)
at org.jgroups.protocols.JDBC_PING.readAll(Katalis.java:192)
at org.jgroups.protocols.JDBC_PING.findMembers(Katalis.java:128)
at org.jgroups.protocols.Discovery.findMembers(Katalis.java:226)
at org.jgroups.protocols.Discovery.down(Katalis.java:366)
at org.jgroups.protocols.JDBC_PING.down(Katalis.java:124)
at org.jgroups.protocols.MERGE2.down(Katalis.java:222)
at org.jgroups.protocols.FD_SOCK.down(Katalis.java:356)
at org.jgroups.protocols.FD_ALL.down(Katalis.java:233)
at org.jgroups.protocols.VERIFY_SUSPECT.down(Katalis.java:92)
at org.jgroups.protocols.pbcast.NAKACK2.down(Katalis.java:551)
at org.jgroups.protocols.UNICAST2.down(Katalis.java:584)
at org.jgroups.protocols.pbcast.STABLE.down(Katalis.java:347)
at org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(Katalis.java:76)
at org.jgroups.protocols.pbcast.ClientGmsImpl.join(Katalis.java:41)
at org.jgroups.protocols.pbcast.GMS.down(Katalis.java:1084)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FlowControl.down(Katalis.java:349)
at org.jgroups.protocols.FRAG2.down(Katalis.java:136)
at org.jgroups.protocols.RSVP.down(Katalis.java:145)
at org.jgroups.stack.ProtocolStack.down(Katalis.java:1039)
at org.jgroups.JChannel.down(Katalis.java:785)
at org.jgroups.JChannel._connect(Katalis.java:558)
... 40 more
{noformat}
I suspect that data is null. The code in line 225 is
{code}
if(local_addr != null && !local_addr.equals(data.getAddress()))
addDiscoveryResponseToCaches(data.getAddress(),
data.getLogicalName(), data.getPhysicalAddr());
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)