java.lang.IllegalThreadStateException: Operation 'com.hazelcast.collection.impl.queue.operations.PollOperation{identityHash=958700058, serviceName='hz:impl:queueService', partitionId=212, replicaIndex=0, callId=3077608, invocationTime=1470720355602 (Tue Aug 09 08:25:55 EEST 2016), waitTimeout=-57360001, callTimeout=60000}' cannot be run in current thread: Thread[hz._hzInstance_1_NE_GROUP.partition-operation.thread-39,5,_hzInstance_1_NE_GROUP]

Google Groups | Abdülhakim Ünlü | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalThreadStateException on distributed queue

    Google Groups | 6 months ago | Abdülhakim Ünlü
    java.lang.IllegalThreadStateException: Operation 'com.hazelcast.collection.impl.queue.operations.PollOperation{identityHash=958700058, serviceName='hz:impl:queueService', partitionId=212, replicaIndex=0, callId=3077608, invocationTime=1470720355602 (Tue Aug 09 08:25:55 EEST 2016), waitTimeout=-57360001, callTimeout=60000}' cannot be run in current thread: Thread[hz._hzInstance_1_NE_GROUP.partition-operation.thread-39,5,_hzInstance_1_NE_GROUP]

    Root Cause Analysis

    1. java.lang.IllegalThreadStateException

      Operation 'com.hazelcast.collection.impl.queue.operations.PollOperation{identityHash=958700058, serviceName='hz:impl:queueService', partitionId=212, replicaIndex=0, callId=3077608, invocationTime=1470720355602 (Tue Aug 09 08:25:55 EEST 2016), waitTimeout=-57360001, callTimeout=60000}' cannot be run in current thread: Thread[hz._hzInstance_1_NE_GROUP.partition-operation.thread-39,5,_hzInstance_1_NE_GROUP]

      at com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread()
    2. com.hazelcast.spi
      InvocationBuilderImpl.invoke
      1. com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread(ClassicOperationExecutor.java:387)
      2. com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.runOperationOnCallingThread(OperationServiceImpl.java:298)
      3. com.hazelcast.spi.impl.waitnotifyservice.impl.WaitNotifyServiceImpl.notify(WaitNotifyServiceImpl.java:129)
      4. com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.afterRun(OperationRunnerImpl.java:290)
      5. com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:174)
      6. com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread(ClassicOperationExecutor.java:392)
      7. com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThreadIfPossible(ClassicOperationExecutor.java:345)
      8. com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvokeLocal(Invocation.java:259)
      9. com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvoke(Invocation.java:243)
      10. com.hazelcast.spi.impl.operationservice.impl.Invocation.invokeInternal(Invocation.java:210)
      11. com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(Invocation.java:180)
      12. com.hazelcast.spi.impl.operationservice.impl.InvocationBuilderImpl.invoke(InvocationBuilderImpl.java:46)
      12 frames
    3. com.hazelcast.client
      AbstractMessageTask.run
      1. com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask.processMessage(AbstractPartitionMessageTask.java:65)
      2. com.hazelcast.client.impl.protocol.task.AbstractMessageTask.initializeAndProcessMessage(AbstractMessageTask.java:118)
      3. com.hazelcast.client.impl.protocol.task.AbstractMessageTask.run(AbstractMessageTask.java:98)
      3 frames
    4. com.hazelcast.spi
      OperationThread.run
      1. com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:127)
      2. com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processPartitionSpecificRunnable(OperationThread.java:159)
      3. com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:142)
      4. com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:124)
      5. com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:99)
      5 frames