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

IllegalArgumentException: Segments must not be null or empty

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • 7.0.0.Beta1
    • 7.0.0.CR1
    • Core
    • None

    Description

      In a stress test I'm occasionally having errors like this one:

      2014-09-09 22:46:47,135 ERROR [org.infinispan.remoting.InboundInvocationHandlerImpl] (remote-thread-IndexManagerStressTest-NodeC-p15-t3) ISPN000260: Exception executing command
      java.lang.IllegalArgumentException: Segments must not be null or empty
      	at org.infinispan.statetransfer.OutboundTransferTask.<init>(OutboundTransferTask.java:90)
      	at org.infinispan.statetransfer.StateProviderImpl.startOutboundTransfer(StateProviderImpl.java:274)
      	at org.infinispan.statetransfer.StateRequestCommand.perform(StateRequestCommand.java:69)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:96)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl.access$000(InboundInvocationHandlerImpl.java:51)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:185)
      	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)
      2014-09-09 22:46:47,135 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (transport-thread-IndexManagerStressTest-NodeB-p8-t1) ISPN000073: Unexpected error while replicating
      java.lang.InterruptedException
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2173)
      	at org.jgroups.blocks.Request.responsesComplete(Request.java:197)
      	at org.jgroups.blocks.Request.execute(Request.java:89)
      	at org.jgroups.blocks.MessageDispatcher.sendMessage(MessageDispatcher.java:406)
      	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:370)
      	at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:167)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:536)
      	at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:281)
      	at org.infinispan.statetransfer.OutboundTransferTask.sendEntries(OutboundTransferTask.java:239)
      	at org.infinispan.statetransfer.OutboundTransferTask.run(OutboundTransferTask.java:178)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	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)
      2014-09-09 22:46:47,163 WARN  [org.infinispan.statetransfer.InboundTransferTask] (transport-thread-IndexManagerStressTest-NodeD-p20-t3) ISPN000210: Failed to request segments [] of cache ___defaultcache from node IndexManagerStressTest-NodeC-26336 (node will not be retried)
      org.infinispan.remoting.RemoteException: ISPN000217: Received exception from IndexManagerStressTest-NodeC-26336, see cause for remote stack trace
      	at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:44)
      	at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndAddToResponseList(AbstractTransport.java:69)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:562)
      	at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:281)
      	at org.infinispan.statetransfer.InboundTransferTask.requestSegments(InboundTransferTask.java:136)
      	at org.infinispan.statetransfer.StateConsumerImpl.runTransferTasksInOrder(StateConsumerImpl.java:815)
      	at org.infinispan.statetransfer.StateConsumerImpl.access$000(StateConsumerImpl.java:75)
      	at org.infinispan.statetransfer.StateConsumerImpl$1.run(StateConsumerImpl.java:791)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	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: java.lang.IllegalArgumentException: Segments must not be null or empty
      	at org.infinispan.statetransfer.OutboundTransferTask.<init>(OutboundTransferTask.java:90)
      	at org.infinispan.statetransfer.StateProviderImpl.startOutboundTransfer(StateProviderImpl.java:274)
      	at org.infinispan.statetransfer.StateRequestCommand.perform(StateRequestCommand.java:69)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:96)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl.access$000(InboundInvocationHandlerImpl.java:51)
      	at org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:185)
      	... 3 more

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: