On Thu, 2007-05-24 at 22:54 -0500, Charles Oliver Nutter wrote:
> > So, why the cast to RubyObject for method dispatching?
> > 
> > I used to be able to do this in JRuby, and that seems to be the only new 
> > thing in the way.
> 
> Got a stack trace for me? It's not hard to rectify.

NativeException: java.lang.ClassCastException: concurrent.FuturesService$Thunk 
cannot be cast to org.jruby.RubyObject
        from null:-1:in `org.jruby.RubyObjectInvokerinspect0.call'
        from FastInvocationCallback.java:49:in 
`org.jruby.runtime.callback.FastInvocationCallback.execute'
        from SimpleCallbackMethod.java:81:in 
`org.jruby.internal.runtime.methods.SimpleCallbackMethod.call'
        from EvaluationState.java:568:in 
`org.jruby.evaluator.EvaluationState.callNode'
        from EvaluationState.java:207:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
        from EvaluationState.java:2183:in 
`org.jruby.evaluator.EvaluationState.setupArgs'
        from EvaluationState.java:1007:in 
`org.jruby.evaluator.EvaluationState.fCallNode'
        from EvaluationState.java:253:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
        from EvaluationState.java:164:in 
`org.jruby.evaluator.EvaluationState.eval'
        from DefaultMethod.java:136:in 
`org.jruby.internal.runtime.methods.DefaultMethod.internalCall'
        from DynamicMethod.java:79:in 
`org.jruby.internal.runtime.methods.DynamicMethod.call'
        from EvaluationState.java:1752:in 
`org.jruby.evaluator.EvaluationState.vcallNode'
        from EvaluationState.java:382:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
        from EvaluationState.java:531:in 
`org.jruby.evaluator.EvaluationState.blockNode'
        from EvaluationState.java:201:in 
`org.jruby.evaluator.EvaluationState.evalInternal'
        from EvaluationState.java:1514:in 
`org.jruby.evaluator.EvaluationState.rescueNode'

-mental

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to