JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-1411

"undefined method `options' for []:Array (NoMethodError)" with JRuby trunk and Mongrel

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.0.1
    • Fix Version/s: JRuby 1.1b1
    • Component/s: Core Classes/Modules
    • Labels:
      None
    • Environment:
      Windows Vista, JDK 1.5.0_012
    • Number of attachments :
      0

      Description

      JRuby 1.0.1 + (default) Rails Gem (version 1.2.4) does not work on Windows because of JRUBY-1401. JRuby 1.0.1 + (default) Mongrel 1.0.1 does not work on Windows because of JRUBY-1410.

      Now the trunk is broken because of the following stack trace.

      => Booting Mongrel (use 'script/server webrick' to force WEBrick)
      => Rails application starting on http://0.0.0.0:3000
      => Call with -d to detach
      => Ctrl-C to shutdown server

        • Ruby version is not up-to-date; loading cgi_multipart_eof_fix
        • Starting Mongrel listening at 0.0.0.0:3000
        • Starting Rails with development environment...
          Exiting
          java.lang.NoSuchMethodError: org.jruby.RubyHash.aset(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jru
          by/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
          at org.jruby.mongrel.URIClassifier.register(URIClassifier.java:89)
          at org.jruby.mongrel.URIClassifierInvoker$register_F2.call(Unknown Source)
          at org.jruby.runtime.callback.FastInvocationCallback.execute(FastInvocationCallback.java:49)

      at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCallbackMethod.java:70
      )
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.runtime.Block.yield(Block.java:235)
      at org.jruby.runtime.Block.call(Block.java:188)
      at org.jruby.RubyProc.call(RubyProc.java:182)
      at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:67)
      at org.jruby.RubyMethod.call(RubyMethod.java:116)
      at org.jruby.RubyMethodInvoker$call_opt.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1001)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.runtime.Block.yield(Block.java:235)
      at org.jruby.runtime.Block.call(Block.java:188)
      at org.jruby.RubyProc.call(RubyProc.java:182)
      at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:67)
      at org.jruby.RubyMethod.call(RubyMethod.java:116)
      at org.jruby.RubyMethodInvoker$call_opt.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.RubyObject.callMethod(RubyObject.java:529)
      at org.jruby.RubyObject.callMethod(RubyObject.java:485)
      at org.jruby.RubyClass.newInstance(RubyClass.java:208)
      at org.jruby.RubyClassInvoker$newInstance_0_0.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:566)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1138)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:287)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.notNode(ASTInterpreter.java:1250)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:319)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:271)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1510)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.Ruby.loadFile(Ruby.java:1721)
      at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)
      at org.jruby.runtime.load.LoadService.load(LoadService.java:214)
      at org.jruby.RubyKernel.load(RubyKernel.java:761)
      at org.jruby.RubyKernelInvoker$load_Sopt.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.RubyObject.callMethod(RubyObject.java:529)
      at org.jruby.RubyObject.callSuper(RubyObject.java:469)
      at org.jruby.evaluator.ASTInterpreter.superNode(ASTInterpreter.java:1564)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:367)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.runtime.Block.yield(Block.java:235)
      at new_constants_in1244162_25942001.__ensure_2(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/ac
      tivesupport-1.4.2/lib/active_support/dependencies.rb:342)
      at new_constants_in1244162_25942001.__ensure_1(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/ac
      tivesupport-1.4.2/lib/active_support/dependencies.rb:342)
      at new_constants_in1244162_25942001._file_(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/acti
      vesupport-1.4.2/lib/active_support/dependencies.rb:314)
      at new_constants_in1244162_25942001.run(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesup
      port-1.4.2/lib/active_support/dependencies.rb)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:112)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:566)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
      at org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1412)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.ensureNode(ASTInterpreter.java:968)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:248)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1510)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.Ruby.loadFile(Ruby.java:1721)
      at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)
      at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
      at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
      at org.jruby.RubyKernel.require(RubyKernel.java:753)
      at org.jruby.RubyKernelInvoker$require_S1.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at require16703414_25942001.__rescue_1(C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/c
      ustom_require.rb:27)
      at require16703414_25942001._file_(C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/cus
      tom_require.rb:27)
      at require16703414_25942001.run(C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/custom_r
      equire.rb)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:112)
      at org.jruby.RubyObject.callMethod(RubyObject.java:529)
      at org.jruby.RubyObject.callSuper(RubyObject.java:469)
      at require2861196_25942001.closure0(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesupport
      -1.4.2/lib/active_support/dependencies.rb:495)
      at require2861196_25942001Blockclosure0xx1.call(Unknown Source)
      at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:100)
      at new_constants_in1244162_25942001.__ensure_2(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/ac
      tivesupport-1.4.2/lib/active_support/dependencies.rb:342)
      at new_constants_in1244162_25942001.__ensure_1(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/ac
      tivesupport-1.4.2/lib/active_support/dependencies.rb:342)
      at new_constants_in1244162_25942001._file_(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/acti
      vesupport-1.4.2/lib/active_support/dependencies.rb:314)
      at new_constants_in1244162_25942001.run(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesup
      port-1.4.2/lib/active_support/dependencies.rb)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:112)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:144)
      at require2861196_25942001.__rescue_1(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesuppo
      rt-1.4.2/lib/active_support/dependencies.rb:495)
      at require2861196_25942001._file_(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesupport
      -1.4.2/lib/active_support/dependencies.rb:495)
      at require2861196_25942001.run(C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesupport-1.4.
      2/lib/active_support/dependencies.rb)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:112)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
      at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
      at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1510)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:357)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.Ruby.loadFile(Ruby.java:1721)
      at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)
      at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
      at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
      at org.jruby.RubyKernel.require(RubyKernel.java:753)
      at org.jruby.RubyKernelInvoker$require_S1.call(Unknown Source)
      at org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:58)
      at org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMe
      thod.java:73)
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
      at org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1412)
      at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351)
      at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
      at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
      at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
      at script.server._file_(script\server:3)
      at script.server.load(script\server)
      at org.jruby.Ruby.runScript(Ruby.java:560)
      at org.jruby.Ruby.runNormally(Ruby.java:482)
      at org.jruby.Ruby.runFromMain(Ruby.java:407)
      at org.jruby.Main.runInterpreter(Main.java:223)
      at org.jruby.Main.runInterpreter(Main.java:179)
      at org.jruby.Main.run(Main.java:121)
      at org.jruby.Main.main(Main.java:96)
      C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:14 warning: a
      lready initialized constant OPTIONS
      C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18:in `method
      _missing': undefined method `options' for []:Array (NoMethodError)
      from C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
      from C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
      from C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/depen
      dencies.rb:495:in `require'
      from C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39:in `ne
      w_constants_in'
      from C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/depen
      dencies.rb:495:in `require'
      from C:/temp/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39:in `re
      quire'
      from C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
      from C:/temp/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
      from script\server:3:in `require'

        Activity

        Hide
        Arun Gupta added a comment -

        With the workspace as of this morning (Oct 6:30am 10 PT), Mongrel starts up correctly but starting a template application gives the following error:

        C:\workspaces\jruby-trunk\samples\rails\hello>..\..\..\bin\jruby script\server
        => Booting Mongrel (use 'script/server webrick' to force WEBrick)
        => Rails application starting on http://0.0.0.0:3000
        => Call with -d to detach
        => Ctrl-C to shutdown server

          • Ruby version is not up-to-date; loading cgi_multipart_eof_fix
          • Starting Mongrel listening at 0.0.0.0:3000
          • Starting Rails with development environment...
          • Rails loaded.
          • Loading any Rails specific GemPlugins
          • Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
          • Rails signals registered. HUP => reload (without restart). It might not work well.
          • Mongrel available at 0.0.0.0:3000
          • Use CTRL-C to stop.
            Exception in thread "Ruby Thread12954537" java.lang.NoSuchMethodError: org.jruby.RubyHash.aref(Lorg/
            jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            at org.jruby.mongrel.Http11$8.call(Http11.java:183)
            at org.jruby.mongrel.Http11Parser.execute(Http11Parser.java:486)
            at org.jruby.mongrel.Http11.execute(Http11.java:235)
            at org.jruby.mongrel.Http11Invoker$execute_F3.call(Unknown Source)
            at org.jruby.runtime.callback.FastInvocationCallback.execute(FastInvocationCallback.java:49)

        at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCallbackMethod.java:70
        )
        at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
        at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
        at org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1138)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:287)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.whileNode(ASTInterpreter.java:1656)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:388)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1412)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351)
        at org.jruby.evaluator.ASTInterpreter.ensureNode(ASTInterpreter.java:968)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:248)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144)
        at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167)
        at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108)
        at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996)
        at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.runtime.Block.yield(Block.java:235)
        at org.jruby.runtime.Block.call(Block.java:188)
        at org.jruby.RubyProc.call(RubyProc.java:181)
        at org.jruby.RubyProc.call(RubyProc.java:155)
        at org.jruby.internal.runtime.RubyNativeThread.run(RubyNativeThread.java:73)

        Show
        Arun Gupta added a comment - With the workspace as of this morning (Oct 6:30am 10 PT), Mongrel starts up correctly but starting a template application gives the following error: C:\workspaces\jruby-trunk\samples\rails\hello>..\..\..\bin\jruby script\server => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Ruby version is not up-to-date; loading cgi_multipart_eof_fix Starting Mongrel listening at 0.0.0.0:3000 Starting Rails with development environment... Rails loaded. Loading any Rails specific GemPlugins Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). Rails signals registered. HUP => reload (without restart). It might not work well. Mongrel available at 0.0.0.0:3000 Use CTRL-C to stop. Exception in thread "Ruby Thread12954537" java.lang.NoSuchMethodError: org.jruby.RubyHash.aref(Lorg/ jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; at org.jruby.mongrel.Http11$8.call(Http11.java:183) at org.jruby.mongrel.Http11Parser.execute(Http11Parser.java:486) at org.jruby.mongrel.Http11.execute(Http11.java:235) at org.jruby.mongrel.Http11Invoker$execute_F3.call(Unknown Source) at org.jruby.runtime.callback.FastInvocationCallback.execute(FastInvocationCallback.java:49) at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCallbackMethod.java:70 ) at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167) at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108) at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208) at org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1138) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:287) at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202) at org.jruby.evaluator.ASTInterpreter.whileNode(ASTInterpreter.java:1656) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:388) at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202) at org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1412) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351) at org.jruby.evaluator.ASTInterpreter.ensureNode(ASTInterpreter.java:968) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:248) at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:144) at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:167) at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:108) at org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:996) at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:254) at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165) at org.jruby.runtime.Block.yield(Block.java:235) at org.jruby.runtime.Block.call(Block.java:188) at org.jruby.RubyProc.call(RubyProc.java:181) at org.jruby.RubyProc.call(RubyProc.java:155) at org.jruby.internal.runtime.RubyNativeThread.run(RubyNativeThread.java:73)
        Hide
        Ola Bini added a comment -

        Added a compatibility method for RubyHash#aref. Should work now.

        Show
        Ola Bini added a comment - Added a compatibility method for RubyHash#aref. Should work now.

          People

          • Assignee:
            Ola Bini
            Reporter:
            Arun Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: