CancelledKeyException

Hi, all. I’m writing a JRuby gem that wraps a Java library that does
some
networking stuff. When I run rspec, after the tests all pass and I get
the
success output, I see the exception output I pasted into
Output of JRuby RSpec test, after tests all pass. I'm calling a networking library during the tests, but don't know if that is connected with this problem. · GitHub.

Anyone know what’s up with this?

Also, it says “RubyThread-14”. I’m only running in 1 thread. The Java
library may be creating additional threads – would they be named
“RubyThread”?

Thanks,
Keith

looks like you’re using the “logging” gem and have some kind of
networked
log appender which is raising the error (it’s a java error because jruby
is
using the java libraries for implementing the IO and friends). the extra
ruby thread was probably created by the appender, and either the
appender
doesn’t clean up after itself, or the shutdown causes a situation which
the
appender didn’t expect.

T#