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]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web79

  • 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’re the first here who have seen this exception.