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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Command Pattern Example Error
    via by user161771 - oracle,
  • 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)
    via by Gaston Dombiak,
  • Controllable Cache Store issue ?
    via by 878789,
  • 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)
    via by Gaston Dombiak,
  • 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)
    via by Gaston Dombiak,
  • Pushreplication Example failing
    via by Adam Niwczinski-Oracle,
    • com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread [java] at com.tangosol.util.Base.ensureRuntimeException(Base.java:293) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.tagException(Grid.CDB:36) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onInvokeRequest(DistributedCache.CDB:80) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$InvokeRequest.run(DistributedCache.CDB:1) at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3) at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42) at java.lang.Thread.run(Thread.java:619) Caused by: com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread [java] 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:4) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.put(DistributedCache.CDB:30) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.put(DistributedCache.CDB:1) at com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1541) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.put(DistributedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1) at com.oracle.coherence.patterns.command.internal.CommandExecutor.acceptCommandExecutionRequest(CommandExecutor.java:708) at com.oracle.coherence.patterns.command.internal.SubmitCommandExecutionRequestProcessor.process(SubmitCommandExecutionRequestProcessor.java:99)
    No Bugmate found.