'jgem update' causes: java.lang.AssertionError: UpdateCommand is not interned
-----------------------------------------------------------------------------

                 Key: JRUBY-3133
                 URL: http://jira.codehaus.org/browse/JRUBY-3133
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.5
         Environment: Mac OSX Leopard (Darwin 9.5.0 Darwin Kernel Version 
9.5.0: Wed Sep  3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386)
java 1.5.0_16 (same error on 1.6.0_07)
            Reporter: Matthew Hawthorne
            Assignee: Thomas E Enebo


I untarred jruby 1.15, ran 'jgem update' and experienced:
org.jruby.Ruby:2501:in `fastNewSymbol': java.lang.AssertionError: UpdateCommand 
is not interned
        from org.jruby.RubyModule:2469:in `fastGetConstant'
        from org.jruby.RubyModule:2462:in `getConstant'
        from org.jruby.RubyModule:2237:in `const_get'
        from org.jruby.RubyModule$i_method_1_0$RUBYINVOKER$const_get:-1:in 
`call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.CallOneArgNode:57:in `interpret'
        from org.jruby.ast.CallNoArgNode:61:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.ast.RescueNode:222:in `executeBody'
        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
        from org.jruby.ast.RescueNode:107:in `interpret'
        from org.jruby.ast.BeginNode:80:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
        from org.jruby.ast.OpElementOneArgOrAsgnNode:68:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
        from org.jruby.ast.LocalAsgnNode:120:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.ast.CaseNode:112:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.RescueNode:222:in `executeBody'
        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
        from org.jruby.ast.RescueNode:107:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from org.jruby.ast.CallOneArgNode:57:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:68:in `interpret'
        from org.jruby.internal.runtime.methods.DefaultMethod:165:in 
`interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
        from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
        from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
        from Users.matthew.opt.jruby.bin.jgem:24:in `rescue_1$RUBY$__rescue___0'
        from Users.matthew.opt.jruby.bin.jgem:23:in `__file__'
        from Users.matthew.opt.jruby.bin.jgem:-1:in `__file__'
        from Users.matthew.opt.jruby.bin.jgem:-1:in `load'
        from org.jruby.Ruby:560:in `runScript'
        from org.jruby.Ruby:463:in `runNormally'
        from org.jruby.Ruby:337:in `runFromMain'
        from org.jruby.Main:214:in `run'
        from org.jruby.Main:100:in `run'
        from org.jruby.Main:84:in `main'

I get the same error for the help command also.

-- 
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