Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6304

NPE during ClearCommand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • 8.2.0.CR1, 8.2.0.Final, 8.1.2.Final
    • Core
    • None

      The logs can be seen on https://travis-ci.org/infinispan/infinispan-hadoop/builds/113090728
      The NPE happens intermittently.

      0:52:28,139 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (HotRodServerWorker-7-1) 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:796)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$83(JGroupsTransport.java:633)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport$$Lambda$46/308539050.apply(Unknown Source)
      	at java.util.concurrent.CompletableFuture$ThenApply.run(CompletableFuture.java:717)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:193)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2345)
      	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:89)
      	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:126)
      	at org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler.handleFromCluster(GlobalInboundInvocationHandler.java:75)
      	... 29 more
      

              dberinde@redhat.com Dan Berindei (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: