IllegalStateException: Shutting Down

Hi. Using Couchbase in a fairly simple way and everything has been going fine, but all of a sudden every time I request a document (I can see it in the Admin Console) I get this;

Caused by: java.lang.IllegalStateException: Shutting down
at net.spy.memcached.MemcachedConnection.checkState( ~[spymemcached-2.10.5.jar:2.10.5]
at net.spy.memcached.MemcachedConnection.enqueueOperation( ~[spymemcached-2.10.5.jar:2.10.5]
at net.spy.memcached.MemcachedClient.asyncGet( ~[spymemcached-2.10.5.jar:2.10.5]
at net.spy.memcached.MemcachedClient.get( ~[spymemcached-2.10.5.jar:2.10.5]
at net.spy.memcached.MemcachedClient.get( ~[spymemcached-2.10.5.jar:2.10.5]

I’m on Mac OS X 10.9.2
Using java version “1.7.0_45”
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ 64-Bit Server VM (build 24.45-b08, mixed mode)

I’m using maven 3.0.4 to run my server in Jetty with the 8.1.14.v20131031 jetty plug in. In turn, that connects to couchbase server Version 2.1.1-764-rel.

I have tried stopping and starting the couchbase server, rebooting, etc but I can’t move forward at all.

I turned on logging using rags’ link in this duplicate bug report;

But it gave me no useful output.

Hope someone can help. If I can provide any more debug info please let me know.



there might be some race condition/unwanted state change in your code. This exception usually means you called shutdown() on the client object and then we don’t allow more IO against it.

Are you reusing the CouchbaseClient() object and not creating/destroying it all the time?