Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1332272

Summary: NullPointerException at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$FutureCollator.futureDone()
Product: [JBoss] JBoss Data Grid 6 Reporter: Masafumi Miura <mmiura>
Component: Server, JGroupsAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: amanukya, jdg-bugs, ttarrant, wfink
Target Milestone: ER1   
Target Release: 6.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:48:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1309749    

Description Masafumi Miura 2016-05-02 17:54:02 UTC
### Description of problem:

The following NullPointerException happened occasionally during rebalancing.

~~~
java.lang.NullPointerException
    at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$FutureCollator.futureDone(CommandAwareRpcDispatcher.java:636) [infinispan-core-6.4.0.Final-redhat-4.jar:6.4.0.Final-redhat-4] 
    at org.jgroups.blocks.Request.checkCompletion(Request.java:169) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.blocks.UnicastRequest.receiveResponse(UnicastRequest.java:83) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:398) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:250) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:675) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.blocks.mux.MuxUpHandler.up(MuxUpHandler.java:130) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.JChannel.up(JChannel.java:739) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1029) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.FRAG2.up(FRAG2.java:165) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.FlowControl.up(FlowControl.java:394) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.FlowControl.up(FlowControl.java:383) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1045) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:652) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.stack.Protocol.up(Protocol.java:374) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:299) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.MERGE3.up(MERGE3.java:286) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.Discovery.up(Discovery.java:291) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2842) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.TP.passMessageUp(TP.java:1577) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at org.jgroups.protocols.TP$MyHandler.run(TP.java:1796) [jgroups-3.6.3.Final-debug.jar:3.6.3.Final-redhat-2]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
~~~



### Version-Release number of selected component (if applicable):

JDG 6.6.0 server


### How reproducible:

Occasionally during rebalancing.

Comment 10 Anna Manukyan 2016-08-16 14:14:56 UTC
Hi,

I am trying to reproduce the issue but have no success now. I have verified that the commit is there, but would like also to ask if you have more details about the environment of the customer, cache configuration?

Comment 11 Anna Manukyan 2016-08-18 11:28:53 UTC
Checked, the fix is in 6.6.1.ER1 build and seems to be trivial. Marking as verified.

Comment 13 Red Hat Bugzilla 2025-02-10 03:48:59 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.