java.lang.IllegalStateException: Attempted to decrement the reference count below 0

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 JIRA by Nick Scavelli, 1 year ago
Attempted to decrement the reference count below 0
via JIRA by Nick Scavelli, 1 year ago
Attempted to decrement the reference count below 0
via JIRA by Jackson Davis, 9 months ago
Attempted to decrement the reference count below 0
via JIRA by Jeff Yemin, 1 year ago
Attempted to decrement the reference count below 0
via JIRA by Jeff Yemin, 1 year ago
Attempted to decrement the reference count below 0
java.lang.IllegalStateException: Attempted to decrement the reference count below 0
at com.mongodb.binding.AbstractReferenceCounted.release(AbstractReferenceCounted.java:23)
at com.mongodb.binding.AsyncClusterBinding$AsyncClusterBindingConnectionSource.release(AsyncClusterBinding.java:111)
at com.mongodb.operation.OperationHelper$3$1.onResult(OperationHelper.java:219)
at com.mongodb.async.SingleResultFuture.init(SingleResultFuture.java:102)
at com.mongodb.operation.FindOperation$2$1.onResult(FindOperation.java:474)
at com.mongodb.operation.FindOperation$2$1.onResult(FindOperation.java:468)
at com.mongodb.async.SingleResultFuture.init(SingleResultFuture.java:102)
at com.mongodb.connection.SingleResultFutureCallback.onResult(SingleResultFutureCallback.java:32)
at com.mongodb.connection.QueryResultCallback.callCallback(QueryResultCallback.java:73)
at com.mongodb.connection.ResponseCallback.onResult(ResponseCallback.java:49)
at com.mongodb.connection.ResponseCallback.onResult(ResponseCallback.java:24)
at com.mongodb.connection.UsageTrackingInternalConnection$3.onResult(UsageTrackingInternalConnection.java:131)
at com.mongodb.connection.UsageTrackingInternalConnection$3.onResult(UsageTrackingInternalConnection.java:127)
at com.mongodb.connection.InternalStreamConnection.processPendingResults(InternalStreamConnection.java:525)
at com.mongodb.connection.InternalStreamConnection.processPendingReads(InternalStreamConnection.java:410)
at com.mongodb.connection.InternalStreamConnection.access$1200(InternalStreamConnection.java:56)
at com.mongodb.connection.InternalStreamConnection$3.onResult(InternalStreamConnection.java:445)
at com.mongodb.connection.InternalStreamConnection$3.onResult(InternalStreamConnection.java:435)

Users with the same issue

You are the first who have seen this exception.

Write tip

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