com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread

Oracle Community | Adam Niwczinski-Oracle | 2 years ago
  1. 0

    Pushreplication Example failing

    Oracle Community | 2 years ago | Adam Niwczinski-Oracle
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
  2. 0

    Controllable Cache Store issue ?

    Oracle Community | 5 years ago | 878789
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
  3. 0

    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.poll(Service.CDB:4) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB:18) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.query(InvocationService.CDB:17) at com.tangosol.coherence.component.util.safeService.SafeInvocationService.query(SafeInvocationService.CDB:1) at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory.doSynchronousClusterTask(CoherenceClusteredCacheFactory.java:274) at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory.java:502) at com.jivesoftware.openfire.session.RemoteSession.doSynchronousClusterTask(RemoteSession.java:162) at com.jivesoftware.openfire.session.RemoteClientSession.getActiveList(RemoteClientSession.java:47) at org.jivesoftware.openfire.roster.Roster.broadcastPresence(Roster.java:568) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUpdate(PresenceUpdateHandler.java:281) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:135) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:110) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:174) at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:133) at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:69) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75) at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClose(SessionManager.java:1116) at org.jivesoftware.openfire.net.VirtualConnection.notifyCloseListeners(VirtualConnection.java:190) at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:166) at org.jivesoftware.openfire.http.HttpSession.close(HttpSession.java:159) at com.jivesoftware.openfire.session.RemoteSessionTask.run(RemoteSessionTask.java:65) at com.jivesoftware.openfire.session.ClientSessionTask.run(ClientSessionTask.java:46) at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory$1.run(CoherenceClusteredCacheFactory.java:321) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.onInvocationMessage(InvocationService.CDB:6) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService$InvocationMessage.onReceived(InvocationService.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Unknown Source)

    Jive Software Open Source | 9 years ago | Gaston Dombiak
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help : poll() is a blocking call

    Oracle Community | 1 decade ago | 3004
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
  6. 0

    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.poll(Service.CDB:4) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB:18) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.query(InvocationService.CDB:17) at com.tangosol.coherence.component.util.safeService.SafeInvocationService.query(SafeInvocationService.CDB:1) at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory.doSynchronousClusterTask(CoherenceClusteredCacheFactory.java:274) at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory.java:502) at com.jivesoftware.openfire.session.RemoteSession.doSynchronousClusterTask(RemoteSession.java:162) at com.jivesoftware.openfire.session.RemoteClientSession.getActiveList(RemoteClientSession.java:47) at org.jivesoftware.openfire.roster.Roster.broadcastPresence(Roster.java:568) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUpdate(PresenceUpdateHandler.java:281) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:135) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:110) at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:174) at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:133) at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:69) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75) at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClose(SessionManager.java:1116) at org.jivesoftware.openfire.net.VirtualConnection.notifyCloseListeners(VirtualConnection.java:190) at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:166) at org.jivesoftware.openfire.http.HttpSession.close(HttpSession.java:159) at com.jivesoftware.openfire.session.RemoteSessionTask.run(RemoteSessionTask.java:65) at com.jivesoftware.openfire.session.ClientSessionTask.run(ClientSessionTask.java:46) at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory$1.run(CoherenceClusteredCacheFactory.java:321) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.onInvocationMessage(InvocationService.CDB:6) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService$InvocationMessage.onReceived(InvocationService.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35) at java.lang.Thread.run(Unknown Source)

    Jive Software Open Source | 9 years ago | Gaston Dombiak
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tangosol.util.AssertionException

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

      at com.tangosol.coherence.Component._assertFailed()
    2. com.tangosol.coherence
      AbstractCachingScheme.realizeCache
      1. com.tangosol.coherence.Component._assertFailed(Component.CDB:12)
      2. com.tangosol.coherence.Component._assert(Component.CDB:3)
      3. com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
      4. com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:1)
      5. com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:24)
      6. com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureCache(PartitionedCache.CDB:36)
      7. com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache$Router(SafeCacheService.CDB:1)
      8. com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache(SafeCacheService.CDB:26)
      9. com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:63)
      9 frames
    3. com.tangosol.net
      CacheFactory.getCache
      1. com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:242)
      2. com.tangosol.net.CacheFactory.getCache(CacheFactory.java:205)
      3. com.tangosol.net.CacheFactory.getCache(CacheFactory.java:182)
      3 frames
    4. com.oracle.coherence
      PublishingCacheStore.store
      1. com.oracle.coherence.common.builders.NamedCacheSerializerBuilder.realize(NamedCacheSerializerBuilder.java:108)
      2. com.oracle.coherence.common.builders.NamedCacheSerializerBuilder.realize(NamedCacheSerializerBuilder.java:58)
      3. com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventDistributor.establishEventChannelController(CoherenceEventDistributor.java:149)
      4. com.oracle.coherence.patterns.eventdistribution.configuration.EventDistributorTemplate.realize(EventDistributorTemplate.java:263)
      5. com.oracle.coherence.patterns.pushreplication.PublishingCacheStore$1.ensureResource(PublishingCacheStore.java:208)
      6. com.oracle.coherence.patterns.pushreplication.PublishingCacheStore$1.ensureResource(PublishingCacheStore.java:1)
      7. com.oracle.coherence.common.resourcing.AbstractDeferredSingletonResourceProvider.getResource(AbstractDeferredSingletonResourceProvider.java:85)
      8. com.oracle.coherence.patterns.pushreplication.PublishingCacheStore.distribute(PublishingCacheStore.java:327)
      9. com.oracle.coherence.patterns.pushreplication.PublishingCacheStore.store(PublishingCacheStore.java:523)
      9 frames
    5. com.tangosol.net
      ReadWriteBackingMap$StoreWrapper.store
      1. com.tangosol.net.cache.ReadWriteBackingMap$BinaryEntryStoreWrapper.storeInternal(ReadWriteBackingMap.java:6221)
      2. com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.store(ReadWriteBackingMap.java:5003)
      2 frames
    6. com.tangosol.util
      Base.ensureRuntimeException
      1. com.tangosol.util.Base.ensureRuntimeException(Base.java:289)
      1 frame
    7. com.tangosol.net
      ReadWriteBackingMap.put
      1. com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.onStoreFailure(ReadWriteBackingMap.java:5344)
      2. com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.store(ReadWriteBackingMap.java:5009)
      3. com.tangosol.net.cache.ReadWriteBackingMap.putInternal(ReadWriteBackingMap.java:1438)
      4. com.tangosol.net.cache.ReadWriteBackingMap.put(ReadWriteBackingMap.java:758)
      4 frames
    8. Java RT
      AbstractMap.putAll
      1. java.util.AbstractMap.putAll(AbstractMap.java:273)
      1 frame
    9. com.tangosol.net
      ReadWriteBackingMap.putAll
      1. com.tangosol.net.cache.ReadWriteBackingMap.putAll(ReadWriteBackingMap.java:801)
      1 frame
    10. com.tangosol.coherence
      PartitionedCache$Storage.postInvoke
      1. com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.putPrimaryResource(PartitionedCache.CDB:63)
      2. com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.postInvoke(PartitionedCache.CDB:36)
      2 frames