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

GitHub | vbekiaris | 10 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

    GitHub comment 8492#230699869

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

    Root Cause Analysis

    1. 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()
    2. com.hazelcast.spi
      OperationServiceImpl.invokeOnAllPartitions
      1. com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.ensureNotCallingFromOperationThread(InvokeOnPartitions.java:74)
      2. com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.invoke(InvokeOnPartitions.java:61)
      3. com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:360)
      3 frames
    3. com.hazelcast.map
      MapProxyImpl.initialize
      1. com.hazelcast.map.impl.proxy.MapProxySupport.addIndex(MapProxySupport.java:1109)
      2. com.hazelcast.map.impl.proxy.MapProxyImpl.addIndex(MapProxyImpl.java:82)
      3. com.hazelcast.map.impl.proxy.MapProxySupport.initializeIndexes(MapProxySupport.java:238)
      4. com.hazelcast.map.impl.proxy.MapProxySupport.initialize(MapProxySupport.java:221)
      5. com.hazelcast.map.impl.proxy.MapProxyImpl.initialize(MapProxyImpl.java:82)
      5 frames
    4. com.hazelcast.spi
      OperationThread.run
      1. com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.doCreateProxy(ProxyRegistry.java:180)
      2. com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.createProxy(ProxyRegistry.java:170)
      3. com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.initializeDistributedObject(ProxyServiceImpl.java:124)
      4. com.hazelcast.spi.impl.proxyservice.impl.operations.InitializeDistributedObjectOperation.run(InitializeDistributedObjectOperation.java:45)
      5. com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:182)
      6. com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:396)
      7. com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:117)
      8. com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:102)
      8 frames