-
Bug
-
Resolution: Done
-
Major
-
3.2.10
-
None
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) [:]