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]

Solutions on the web78

  • via Google Groups by Abdülhakim Ünlü, 11 months ago
    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
  • via GitHub by tombujok
    , 1 year ago
    Thread[hz._hzInstance_1_dev.partition-operation.thread-0,5,_hzInstance_1_dev] cannot make remote call: com.hazelcast.map.impl.operation.ContainsKeyOperation{serviceName='hz:impl:mapService', partitionId=179, replicaIndex=0, callId=0, invocationTime=-1 (Thu Jan 01 00:59:59 CET 1970), waitTimeout=-1, callTimeout=60000, name=idx-cache, name=idx-cache}
  • Thread[hz._hzInstance_2_dev.partition-operation.thread-12,5,_hzInstance_2_dev] cannot make remote call: ContainsKeyOperation{}
  • Stack trace

    • 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(ClassicOperationExecutor.java:387) at com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.runOperationOnCallingThread(OperationServiceImpl.java:298) at com.hazelcast.spi.impl.waitnotifyservice.impl.WaitNotifyServiceImpl.notify(WaitNotifyServiceImpl.java:129) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.afterRun(OperationRunnerImpl.java:290) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:174) at com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThread(ClassicOperationExecutor.java:392) at com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor.runOnCallingThreadIfPossible(ClassicOperationExecutor.java:345) at com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvokeLocal(Invocation.java:259) at com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvoke(Invocation.java:243) at com.hazelcast.spi.impl.operationservice.impl.Invocation.invokeInternal(Invocation.java:210) at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(Invocation.java:180) at com.hazelcast.spi.impl.operationservice.impl.InvocationBuilderImpl.invoke(InvocationBuilderImpl.java:46) at com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask.processMessage(AbstractPartitionMessageTask.java:65) at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.initializeAndProcessMessage(AbstractMessageTask.java:118) at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.run(AbstractMessageTask.java:98) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:127) at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processPartitionSpecificRunnable(OperationThread.java:159) at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:142) at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:124) at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:99)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.