Closed PlasticLizard closed 6 years ago
You can throw it in a Github issue if you like. I've never tested it against Jruby.
On Wed, Jun 29, 2011 at 9:07 PM, PlasticLizard reply@reply.github.com wrote:
I'll try to dig into this in more detail later, but I thought I'd capture it. EM-Mongo doesn't seem to work under JRuby, BSON issues:
NativeException in 'EventMachine::Mongo::Collection should handle multiple pending queries' org.bson.BSONException: should be impossible org/bson/BSONDecoder.java:35:in
decode' org/bson/BSONDecoder.java:35:in
decode' /home/nathan/.rvm/gems/jruby-1.6.2/gems/bson-1.3.1-java/lib/../lib/bson/bson_java.rb:16:indeserialize' org/jruby/RubyRange.java:407:in
each' org/jruby/RubyEnumerable.java:706:incollect' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:1447:in
event_callback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:82:ineventCallback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:101:in
run_machine' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:256:inrun' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:24:in
em' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:62:ininstance_eval' org/jruby/ext/Timeout.java:79:in
timeout' org/jruby/RubyArray.java:1602:ineach' org/jruby/RubyArray.java:1602:in
each' org/jruby/RubyKernel.java:1063:in `load'Reply to this email directly or view it on GitHub: https://github.com/bcg/em-mongo/issues/25
Brenden Grace
I have sent a pull-request which fixes this.
This issue can be closed.
I'll try to dig into this in more detail later, but I thought I'd capture it. EM-Mongo doesn't seem to work under JRuby, BSON issues:
NativeException in 'EventMachine::Mongo::Collection should handle multiple pending queries' org.bson.BSONException: should be impossible org/bson/BSONDecoder.java:35:in
decode' org/bson/BSONDecoder.java:35:in
decode' /home/nathan/.rvm/gems/jruby-1.6.2/gems/bson-1.3.1-java/lib/../lib/bson/bson_java.rb:16:indeserialize' org/jruby/RubyRange.java:407:in
each' org/jruby/RubyEnumerable.java:706:incollect' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:1447:in
event_callback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:82:ineventCallback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:101:in
run_machine' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:256:inrun' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:24:in
em' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:62:ininstance_eval' org/jruby/ext/Timeout.java:79:in
timeout' org/jruby/RubyArray.java:1602:ineach' org/jruby/RubyArray.java:1602:in
each' org/jruby/RubyKernel.java:1063:in `load'