[jboss-jira] [JBoss JIRA] (JGRP-1702) org.jgroups.blocks.atomic.CounterService.getOrCreateCounter(counterName, -1) causing NullPointerException in EAP6.1.1
Ramil Israfilov (JIRA)
jira-events at lists.jboss.org
Thu Sep 19 12:12:03 EDT 2013
Ramil Israfilov created JGRP-1702:
-------------------------------------
Summary: org.jgroups.blocks.atomic.CounterService.getOrCreateCounter(counterName,-1) causing NullPointerException in EAP6.1.1
Key: JGRP-1702
URL: https://issues.jboss.org/browse/JGRP-1702
Project: JGroups
Issue Type: Bug
Affects Versions: 3.2.10
Environment: JBOSS EAP 6.1.1 on Linux CentOS5
Reporter: Ramil Israfilov
Assignee: Bela Ban
WE were happyly using the counterService.getOrCreateCounter(counter, -1); API in the JBOSS 7.1.3 (JBOSS EAP 6.0.1),
we tried to migrate to EAP 6.1.1 and got NullPointerException on that call
Here is the stacktrace:
Caused by: java.lang.NullPointerException
at org.jgroups.util.Owner.hashCode(Owner.java:52) [jgroups-3.2.10.Final-
redhat-2.jar:3.2.10.Final-redhat-2]
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:882
) [rt.jar:1.6.0_26]
at org.jgroups.protocols.COUNTER.getOrCreateCounter(COUNTER.java:140) [j
groups-3.2.10.Final-redhat-2.jar:3.2.10.Final-redhat-2]
at org.jgroups.blocks.atomic.CounterService.getOrCreateCounter(CounterSe
rvice.java:34) [jgroups-3.2.10.Final-redhat-2.jar:3.2.10.Final-redhat-2]
at com.alu.mdm.container.jboss.JBossContainerImpl.getOrCreateDistributed
Counter(JBossContainerImpl.java:102) [:]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list