Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: JRuby 1.7.0.pre2
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Number of attachments :
      1

      Description

      Trying to run a long background process in a rails 3.0.7 console using
      jruby --server -J-XX:MaxInlineSize=150 -J-XX:InlineSmallCode=3000 --1.9 -S rails c

      The full stacktrace is in the attached log file, the console log follows below.

      Java::JavaLang::UnsupportedOperationException: BUG: invoking UndefinedMethod.call; report at http://bugs.jruby.org
      	from org.jruby.internal.runtime.methods.UndefinedMethod.call(UndefinedMethod.java:59)
      	from org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:213)
      	from org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209)
      	from org.jruby.runtime.invokedynamic.InvokeDynamicSupport.fail(InvokeDynamicSupport.java:531)
      	from rubyjit.==_92AF5931548F84B8C229C838024DFB0840B971F1.__file__(/Users/lribeiro/.rvm/gems/jruby-head/gems/activerecord-3.0.7/lib/active_record/base.rb:1620)
      	from rubyjit.==_92AF5931548F84B8C229C838024DFB0840B971F1.__file__(/Users/lribeiro/.rvm/gems/jruby-head/gems/activerecord-3.0.7/lib/active_record/base.rb)
      	from rubyjit.==_92AF5931548F84B8C229C838024DFB0840B971F1.__file__(/Users/lribeiro/.rvm/gems/jruby-head/gems/activerecord-3.0.7/lib/active_record/base.rb)
      	from org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:87)
      	from org.jruby.RubyClass.finvoke(RubyClass.java:543)
      	from org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1694)
      	from org.jruby.RubyKernel.send19(RubyKernel.java:2091)
      	from org.jruby.RubyKernel$s$send19.call(RubyKernel$s$send19.gen:65535)
      	from org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:183)
      	from org.jruby.runtime.invokedynamic.InvokeDynamicSupport.fail(InvokeDynamicSupport.java:576)
      	from java.lang.invoke.MethodHandle.invokeExact(MethodHandle.java)
      	from rubyjit.method_missing_CA47AE38A78C450049FD71132B1785BF32885234.__file__(/Users/lribeiro/.rvm/gems/jruby-head/gems/activerecord-3.0.7/lib/active_record/associations/association_proxy.rb:222)
      ... 409 levels...
      	from org.jruby.RubyKernel$s$1$0$require19.call(RubyKernel$s$1$0$require19.gen:65535)
      	from org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:319)
      	from org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
      	from org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
      	from org.jruby.runtime.invokedynamic.InvokeDynamicSupport.fallback(InvokeDynamicSupport.java:312)
      	from script.rails.__file__(script/rails:6)
      	from script.rails.load(script/rails)
      	from org.jruby.Ruby.runScript(Ruby.java:671)
      	from org.jruby.Ruby.runNormally(Ruby.java:575)
      	from org.jruby.Ruby.runFromMain(Ruby.java:424)
      	from org.jruby.Main.doRunFromMain(Main.java:278)
      	from org.jruby.Main.internalRun(Main.java:198)
      	from org.jruby.Main.run(Main.java:164)
      	from org.jruby.Main.run(Main.java:148)
      	from org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:139)
      	from java.exexit
      NameError: undefined local variable or method `exexit' for #<Object:0x6ad65e13>
      	from (irb):2:in `evaluate'
      	from org/jruby/RubyKernel.java:1093:in `eval'
      	from org/jruby/RubyKernel.java:1418:in `loop'
      	from org/jruby/RubyKernel.java:1205:in `catch'
      	from org/jruby/RubyKernel.java:1205:in `catch'
      	from /Users/lribeiro/.rvm/gems/jruby-head/gems/railties-3.0.7/lib/rails/commands/console.rb:44:in `start'
      	from /Users/lribeiro/.rvm/gems/jruby-head/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in `start'
      	from /Users/lribeiro/.rvm/gems/jruby-head/gems/railties-3.0.7/lib/rails/commands.rb:23:in `(root)'
      	from org/jruby/RubyKernel.java:1047:in `require'
      	from script/rails:6:in `(root)'
      jruby-head :003 > exit
      

      I'm sorry but I'm unable to provide a test case where it happens.

      1. development.log
        30 kB
        Luís Landeiro Ribeiro

        Activity

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Luís Landeiro Ribeiro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: