com.tangosol.util.AssertionException

poll() is a blocking call and cannot be called on the Service thread

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web11

  • via Unknown by Adam Niwczinski-Oracle,
  • via Unknown by Gaston Dombiak,
  • via Unknown by 696900,
  • Stack trace

    • com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread at com.tangosol.util.Base.ensureRuntimeException(Base.java:289) at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.onStoreFailure(ReadWriteBackingMap.java:5344) at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.store(ReadWriteBackingMap.java:5009) at com.tangosol.net.cache.ReadWriteBackingMap.putInternal(ReadWriteBackingMap.java:1438) at com.tangosol.net.cache.ReadWriteBackingMap.put(ReadWriteBackingMap.java:758) at java.util.AbstractMap.putAll(AbstractMap.java:273) at com.tangosol.net.cache.ReadWriteBackingMap.putAll(ReadWriteBackingMap.java:801) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.putPrimaryResource(PartitionedCache.CDB:63) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.postInvoke(PartitionedCache.CDB:36) Caused by: com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread at com.tangosol.coherence.Component._assertFailed(Component.CDB:12) at com.tangosol.coherence.Component._assert(Component.CDB:3) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:1) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:24) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:36) at com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache$Router(SafeCacheService.CDB:1) at com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache(SafeCacheService.CDB:26) at com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:63) at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:242) at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:205) at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:182) at com.oracle.coherence.common.builders.NamedCacheSerializerBuilder.realize(NamedCacheSerializerBuilder.java:108) at com.oracle.coherence.common.builders.NamedCacheSerializerBuilder.realize(NamedCacheSerializerBuilder.java:58) at com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventDistributor.establishEventChannelController(CoherenceEventDistributor.java:149) at com.oracle.coherence.patterns.eventdistribution.configuration.EventDistributorTemplate.realize(EventDistributorTemplate.java:263) at com.oracle.coherence.patterns.pushreplication.PublishingCacheStore$1.ensureResource(PublishingCacheStore.java:208) at com.oracle.coherence.patterns.pushreplication.PublishingCacheStore$1.ensureResource(PublishingCacheStore.java:1) at com.oracle.coherence.common.resourcing.AbstractDeferredSingletonResourceProvider.getResource(AbstractDeferredSingletonResourceProvider.java:85) at com.oracle.coherence.patterns.pushreplication.PublishingCacheStore.distribute(PublishingCacheStore.java:327) at com.oracle.coherence.patterns.pushreplication.PublishingCacheStore.store(PublishingCacheStore.java:523) at com.tangosol.net.cache.ReadWriteBackingMap$BinaryEntryStoreWrapper.storeInternal(ReadWriteBackingMap.java:6221) at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.store(ReadWriteBackingMap.java:5003) ... 9 more

    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

    We couldn't find other users who have seen this exception.