java.util.concurrent.RejectedExecutionException: Task com.datastax.driver.core.Connection$10$1@5c21d76e rejected from java.util.concurrent.ThreadPoolExecutor@78eaecc1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]

Stack Overflow | Simone | 8 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

    Enable Cassandra client-to-node encryption with Spring Data Cassandra

    Stack Overflow | 8 months ago | Simone
    java.util.concurrent.RejectedExecutionException: Task com.datastax.driver.core.Connection$10$1@5c21d76e rejected from java.util.concurrent.ThreadPoolExecutor@78eaecc1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
  2. 0

    GitHub comment 127#222979740

    GitHub | 11 months ago | gravis
    java.util.concurrent.RejectedExecutionException: Task com.datastax.driver.core.Connection$10$1@6d717f9e rejected from java.util.concurrent.ThreadPoolExecutor@1b42013[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
  3. 0

    GitHub comment 127#222993997

    GitHub | 11 months ago | gravis
    java.util.concurrent.RejectedExecutionException: Task com.datastax.driver.core.Connection$10$1@f763ad2 rejected from java.util.concurrent.ThreadPoolExecutor@738b5267[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2907#142746601

    GitHub | 2 years ago | zhiyanshao
    java.util.concurrent.RejectedExecutionException: Task rx.schedulers.ExecutorScheduler$ExecutorSchedulerWorker@5e731de2 rejected from java.util.concurrent.ThreadPoolExecutor@500df7b6[Running, pool size = 25, active threads = 5, queued tasks = 25, completed tasks = 6741988]
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. java.util.concurrent.RejectedExecutionException

    Task com.datastax.driver.core.Connection$10$1@5c21d76e rejected from java.util.concurrent.ThreadPoolExecutor@78eaecc1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]

    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution()
  2. Java RT
    ThreadPoolExecutor.execute
    1. java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
    2. java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
    3. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
    3 frames
  3. Guava
    MoreExecutors$ListeningDecorator.execute
    1. com.google.common.util.concurrent.MoreExecutors$ListeningDecorator.execute(MoreExecutors.java:556)
    1 frame
  4. DataStax Java Driver for Apache Cassandra - Core
    Connection$10.operationComplete
    1. com.datastax.driver.core.Connection$10.operationComplete(Connection.java:573)
    2. com.datastax.driver.core.Connection$10.operationComplete(Connection.java:547)
    2 frames
  5. Netty
    SingleThreadEventExecutor$2.run
    1. io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)
    2. io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:507)
    3. io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:486)
    4. io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:427)
    5. io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:129)
    6. io.netty.channel.PendingWriteQueue.safeFail(PendingWriteQueue.java:286)
    7. io.netty.channel.PendingWriteQueue.removeAndFailAll(PendingWriteQueue.java:132)
    8. io.netty.handler.ssl.SslHandler.setHandshakeFailure(SslHandler.java:1231)
    9. io.netty.handler.ssl.SslHandler.setHandshakeFailure(SslHandler.java:1205)
    10. io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1060)
    11. io.netty.handler.ssl.SslHandler.decode(SslHandler.java:900)
    12. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
    13. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
    14. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    15. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    16. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    17. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    18. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    19. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    20. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    21. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    22. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:572)
    23. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513)
    24. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427)
    25. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399)
    26. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    26 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame