Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-57

RemoteQueryIspnDirIT fails randomly with NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JDG 7.0.0 ER5
    • None
    • TestSuite
    • None

    Description

      Tests from RemoteQueryIspnDirIT fails randomly with NPE:

      13:43:24,104 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (HotRodServerWorker-5-15) ISPN000136: Error executing command ClearCommand, writing keys []: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node1, see cause for remote stack trace
      	at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:44)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:795)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$188(JGroupsTransport.java:632)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      	at org.infinispan.remoting.transport.jgroups.SingleResponseFuture.futureDone(SingleResponseFuture.java:30)
      	at org.jgroups.blocks.Request.checkCompletion(Request.java:162)
      	at org.jgroups.blocks.UnicastRequest.receiveResponse(UnicastRequest.java:81)
      	at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:373)
      	at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:237)
      	at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:695)
      	at org.jgroups.JChannel.up(JChannel.java:738)
      	at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:120)
      	at org.jgroups.stack.Protocol.up(Protocol.java:379)
      	at org.jgroups.protocols.FORK.up(FORK.java:114)
      	at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:392)
      	at org.jgroups.protocols.FlowControl.up(FlowControl.java:381)
      	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1043)
      	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
      	at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064)
      	at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779)
      	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
      	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:652)
      	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
      	at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
      	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:310)
      	at org.jgroups.protocols.MERGE3.up(MERGE3.java:285)
      	at org.jgroups.protocols.Discovery.up(Discovery.java:296)
      	at org.jgroups.protocols.TP.passMessageUp(TP.java:1590)
      	at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1802)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheException: java.lang.NullPointerException
      	at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.handleFromCluster(GlobalInboundInvocationHandler.java:88)
      	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromLocalCluster(CommandAwareRpcDispatcher.java:196)
      	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:166)
      	at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:402)
      	at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:352)
      	... 25 more
      Caused by: java.lang.NullPointerException
      	at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.handleCacheRpcCommand(GlobalInboundInvocationHandler.java:125)
      	at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.handleFromCluster(GlobalInboundInvocationHandler.java:74)
      	... 29 more
      

      Attachments

        Issue Links

          Activity

            People

              pruivo@redhat.com Pedro Ruivo
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: