Digging in the problem is that the EvaluateState#currentException is null, and 
the "ExceptionRethrower" tries to throw a null.  I've not been able to 
produce a small test-case yet, so I was wonderinf if anyone could give some 
pointers about what to look at in the debugger.

I'm trying to call a java class, but I think somewhere in the JRuby code an 
exception is happening, that is being "mis-handled" by the new interpeter.

Tips?

David


On Tuesday 07 March 2006 08:42 am, David Corbin wrote:
> I'm getting this after my java code throws an exception.  I haven't got it
> boiled down to Ia simple demo, but I thought this might help in the mean
> time....
>
>
> NativeException: java.lang.NullPointerException: null
>
> org.jruby.evaluator.EvaluationState$ExceptionRethrower.execute(EvaluationSt
>ate.java:249)
> org.jruby.evaluator.EvaluationState.executeNext(EvaluationState.java:211)
> org.jruby.evaluator.EvaluationState.begin(EvaluationState.java:335)
> org.jruby.RubyObject.eval(RubyObject.java:427)
>
> org.jruby.internal.runtime.methods.DefaultMethod.internalCall(DefaultMethod
>.java:109)
>
> org.jruby.internal.runtime.methods.AbstractMethod.call(AbstractMethod.java:
>51) org.jruby.RubyObject.callMethod(RubyObject.java:351)
>     org.jruby.RubyObject.callMethod(RubyObject.java:314)
>
> org.jruby.evaluator.EvaluateVisitor$FCallNodeVisitor.execute(EvaluateVisito
>r.java:1028)
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Jruby-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jruby-devel


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to