It happens when running a getAndLock() on a locked item.
Attached is a demo program in node.js
DemostrateExceptionInGetAndLock.zip (852 Bytes)
You would need to run:
npm install couchbase
npm install async
and then run it:
$ node DemostrateExceptionInGetAndLock.js
Regards,
Alon