RE: Rake not working in JRuby 1.1.2

Vladimir,

I’m sorry but I don’t know how to get the whole stacktrace, but this is
the
last lines of it:
03)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
64)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:637)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:309)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:187)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
66)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:653)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at
org.jruby.runtime.InterpretedBlock.call(InterpretedBlock.java:103)
at org.jruby.runtime.Block.call(Block.java:105)
at org.jruby.RubyProc.call(RubyProc.java:204)
at org.jruby.RubyProc.call(RubyProc.java:189)
at org.jruby.RubyProcInvoker$call_method_0_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock.call(
JavaMethod.java:63)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:86)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
63)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:653)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.caseNode(ASTInterpreter.java:699)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
26)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at org.jruby.RubyArray.each(RubyArray.java:1311)
at org.jruby.RubyArrayInvoker$each_method_0_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.cal
l(JavaMethod.java:295)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
75)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:267)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
29)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1116
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
70)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at
org.jruby.libraries.ThreadLibrary$Mutex.synchronize(ThreadLibrary.jav
a:158)
at
org.jruby.libraries.ThreadLibrary$MutexInvoker$synchronize_method_0_0
.call(Unknown Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.cal
l(JavaMethod.java:295)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
78)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:309)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:187)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
66)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1120
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
70)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
64)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:267)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:155)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
32)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1116
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
70)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at org.jruby.RubyArray.each(RubyArray.java:1311)
at org.jruby.RubyArrayInvoker$each_method_0_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.cal
l(JavaMethod.java:295)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
78)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.Block.yield(Block.java:114)
at
org.jruby.evaluator.ASTInterpreter.yieldNode(ASTInterpreter.java:1850
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:5
09)
at
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:155
6)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:4
68)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
78)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
70)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:225)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:123)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
98)
at
org.jruby.evaluator.ASTInterpreter.vcallNode(ASTInterpreter.java:1781
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:5
00)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.Block.yield(Block.java:114)
at
org.jruby.evaluator.ASTInterpreter.yieldNode(ASTInterpreter.java:1850
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:5
09)
at
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:155
6)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:4
68)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
78)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139
)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
70)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(Defa
ultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.j
ava:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:2
64)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
24)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:3
18)
at
org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1654)

    at

org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:4
74)
at
org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.Ruby.loadFile(Ruby.java:2001)
at
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
at org.jruby.runtime.load.LoadService.load(LoadService.java:212)
at org.jruby.RubyKernel.load(RubyKernel.java:783)
at org.jruby.RubyKernelInvoker$load_s_method_0_1.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.j
ava:78)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSit
e.java:155)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:3
32)
at
ruby.D_3a_.javastuff.jruby_minus_1_dot_1_dot_2.bin.rake.file(D:/j
avastuff/jruby-1.1.2/bin/rake:19)
at
ruby.D_3a_.javastuff.jruby_minus_1_dot_1_dot_2.bin.rake.file(D:/j
avastuff/jruby-1.1.2/bin/rake)
at
ruby.D_3a_.javastuff.jruby_minus_1_dot_1_dot_2.bin.rake.load(D:/javas
tuff/jruby-1.1.2/bin/rake)
at org.jruby.Ruby.runScript(Ruby.java:512)
at org.jruby.Ruby.runNormally(Ruby.java:432)
at org.jruby.Ruby.runFromMain(Ruby.java:312)
at org.jruby.Main.run(Main.java:144)
at org.jruby.Main.run(Main.java:89)
at org.jruby.Main.main(Main.java:80)

I am using it on windows.

Best regards,

Hi Joshua,

On Fri, May 30, 2008 at 4:10 PM, Partogi, Joshua
[email protected] wrote:

Vladimir,

I’m sorry but I don’t know how to get the whole stacktrace, but this is the
last lines of it:

Ah. :slight_smile: But I really need the first lines, that’s where the most
important info is.
Could you try the following:

jruby -S rake db:migrate 2> out.txt

And post the first part of the stack trace?

Thanks,
–Vladimir


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email