java.lang.IllegalThreadStateException: Thread[hz._hzInstance_1_dev.generic-operation.thread-1,5,_hzInstance_1_dev] cannot make invocation on multiple partitions!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by vbekiaris
, 1 year ago
Thread[hz._hzInstance_1_dev.generic-operation.thread-1,5,_hzInstance_1_dev] cannot make invocation on multiple partitions!
java.lang.IllegalThreadStateException: Thread[hz._hzInstance_1_dev.generic-operation.thread-1,5,_hzInstance_1_dev] cannot make invocation on multiple partitions!
at com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.ensureNotCallingFromOperationThread(InvokeOnPartitions.java:74)
at com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.invoke(InvokeOnPartitions.java:61)
at com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:360)
at com.hazelcast.map.impl.proxy.MapProxySupport.addIndex(MapProxySupport.java:1109)
at com.hazelcast.map.impl.proxy.MapProxyImpl.addIndex(MapProxyImpl.java:82)
at com.hazelcast.map.impl.proxy.MapProxySupport.initializeIndexes(MapProxySupport.java:238)
at com.hazelcast.map.impl.proxy.MapProxySupport.initialize(MapProxySupport.java:221)
at com.hazelcast.map.impl.proxy.MapProxyImpl.initialize(MapProxyImpl.java:82)
at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.doCreateProxy(ProxyRegistry.java:180)
at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.createProxy(ProxyRegistry.java:170)
at com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.initializeDistributedObject(ProxyServiceImpl.java:124)
at com.hazelcast.spi.impl.proxyservice.impl.operations.InitializeDistributedObjectOperation.run(InitializeDistributedObjectOperation.java:45)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:182)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:396)
at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:117)
at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:102)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.