java.lang.IllegalStateException: ConcurrentBag has been closed, ignoring add()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Mike Nielsen, 10 months ago
ConcurrentBag has been closed, ignoring add()
via Google Groups by Aaron Masino, 1 year ago
ConcurrentBag has been closed, ignoring add()
via GitHub by Adhara3
, 2 years ago
ConcurrentBag has been closed
java.lang.IllegalStateException: ConcurrentBag has been closed, ignoring add()
at com.zaxxer.hikari.util.ConcurrentBag.add(ConcurrentBag.java:178)
at com.zaxxer.hikari.pool.BaseHikariPool.addConnection(BaseHikariPool.java:453)
at com.zaxxer.hikari.pool.BaseHikariPool$1.run(BaseHikariPool.java:413)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.