fredjean/jruby-memcache-client

BufferUnderflowException

Opened this issue · 2 comments

When running as part of the build we saw this exception

java.nio.BufferUnderflowException: null (NativeException)
java/nio/Buffer.java:472:in nextGetIndex' java/nio/DirectByteBuffer.java:219:inget'
com.schooner.MemCached.SockInputStream:-1:in read' com.schooner.MemCached.SockInputStream:-1:ingetLine'
com.schooner.MemCached.AscIIClient:-1:in delete' com.schooner.MemCached.AscIIClient:-1:indelete'
com.danga.MemCached.MemCachedClient:-1:in `delete'


This does not happen everytime but looks like a threading issue. And possibly exposes the jar limitations. Wondering if you have seen this.

I haven't seen it since i haven't used the gem in about 3 years...

I have added you as an owner of the gem on Rubygems. This should allow you to push new versions out as needed.

Have a look at jruby-memcached though. It is under active development and may be a better fit for your needs.

Hi Fred,
Thanks for adding me as the owner. That certainly does help. We were in a crunch and having this gem really helped. We are currently working on upgrading this gem in the short term and using other gems for Rails 3 soon.

-Sudhindra