BUG: invoking UndefinedMethod.call
----------------------------------

                 Key: JRUBY-5785
                 URL: http://jira.codehaus.org/browse/JRUBY-5785
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.7
         Environment: snow:~ lribeiro$ rvm info

jruby-head:

  system:
    uname:       "Darwin snow.pdmfc.com 10.6.0 Darwin Kernel Version 10.6.0: 
Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386"
    bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release 
(x86_64-apple-darwin10.0)"
    zsh:         "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"

  rvm:
    version:      "rvm 1.6.5 by Wayne E. Seguin ([email protected]) 
[https://rvm.beginrescueend.com/]";

  ruby:
    interpreter:  "jruby"
    version:      "1.6.1"
    date:         "2011-05-09"
    platform:     "darwin-universal-java"
    patchlevel:   "OpenJDK 64-Bit Server VM 1.7.0-internal"
    full_version: "jruby 1.6.1 (ruby-1.8.7-p330) (2011-05-09 c8fedfb) (OpenJDK 
64-Bit Server VM 1.7.0-internal) [darwin-universal-java]"

  homes:
    gem:          "/Users/lribeiro/.rvm/gems/jruby-head"
    ruby:         "/Users/lribeiro/.rvm/rubies/jruby-head"

  binaries:
    ruby:         "/Users/lribeiro/.rvm/rubies/jruby-head/bin/ruby"
    irb:          "/Users/lribeiro/.rvm/rubies/jruby-head/bin/irb"
    gem:          "/Users/lribeiro/.rvm/rubies/jruby-head/bin/gem"
    rake:         "/Users/lribeiro/.rvm/gems/jruby-head/bin/rake"

  environment:
    PATH:         
"/Users/lribeiro/.rvm/gems/jruby-head/bin:/Users/lribeiro/.rvm/gems/jruby-head@global/bin:/Users/lribeiro/.rvm/rubies/jruby-head/bin:/Users/lribeiro/.rvm/bin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/mysql5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/opt/local/:/users/lribeiro/downloads/android-sdk-mac_x86/platform-tools:/users/lribeiro/downloads/android-sdk-mac_x86/tools"
    GEM_HOME:     "/Users/lribeiro/.rvm/gems/jruby-head"
    GEM_PATH:     
"/Users/lribeiro/.rvm/gems/jruby-head:/Users/lribeiro/.rvm/gems/jruby-head@global"
    MY_RUBY_HOME: "/Users/lribeiro/.rvm/rubies/jruby-head"
    IRBRC:        "/Users/lribeiro/.rvm/rubies/jruby-head/.irbrc"
    RUBYOPT:      ""
    gemset:       ""


Current JRUBY-HEAD version @
commit c8fedfbc62e9578cd50c5f79544c912730c4aa0a
Author: Hiroshi Nakamura <[email protected]>
Date:   Mon May 9 18:27:16 2011 +0900

    Update asm classpath entries for Eclipse.
    
    4.0_RC1 jars.



            Reporter: Luís Landeiro Ribeiro
            Assignee: Thomas E Enebo
            Priority: Critical
         Attachments: development.log

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to