Coder Social home page Coder Social logo

Doesn't run under JRuby about em-mongo HOT 3 CLOSED

bcg avatar bcg commented on May 28, 2024
Doesn't run under JRuby

from em-mongo.

Comments (3)

bcg avatar bcg commented on May 28, 2024

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
[email protected]
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:indecode'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/bson-1.3.1-java/lib/../lib/bson/bson_java.rb:16:in deserialize' org/jruby/RubyRange.java:407:ineach'
org/jruby/RubyEnumerable.java:706:in collect' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:1447:inevent_callback'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:82:in eventCallback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:101:inrun_machine'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:256:in run' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:24:inem'
/home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:62:in instance_eval' org/jruby/ext/Timeout.java:79:intimeout'
org/jruby/RubyArray.java:1602:in each' org/jruby/RubyArray.java:1602:ineach'
org/jruby/RubyKernel.java:1063:in `load'

Reply to this email directly or view it on GitHub:
#25

Brenden Grace

from em-mongo.

ayosec avatar ayosec commented on May 28, 2024

I have sent a pull-request which fixes this.

#29

from em-mongo.

ayosec avatar ayosec commented on May 28, 2024

This issue can be closed.

from em-mongo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.