On 3/29/06, Werner Schuster (murphee) <
[EMAIL PROTECTED]> wrote:
Charles O Nutter wrote:
>I believe SF anon CVS is a bit behind the main line. The change was adding
>one line to ThreadContext.preAdoptThread:
> pushCRef(runtime.getObject()); // this is new
> }
>
>
OK, I got that, and I set a breakpoint at this added line
(pushCRef,...). It executed that line... but
the Exception still happens:
java.lang.NullPointerException
at
org.jruby.evaluator.EvaluateVisitor$FCallNodeVisitor.execute(EvaluateVisitor.java:1028)
at
org.jruby.evaluator.EvaluationState.executeNext (EvaluationState.java:211)
at org.jruby.evaluator.EvaluationState.begin(EvaluationState.java:291)
at org.jruby.Ruby.eval(Ruby.java:188)
at org.jruby.Ruby.evalScript(Ruby.java:181)
at
org.ruby.eclipse.rubyenvironment.providers.JRubyEnvironment.execute (JRubyEnvironment.java:120)
at
net.sf.eclipseshell.editors.InterpreterEditor$EvaluateJob.run(InterpreterEditor.java:568)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Hmm... BTW I set up Ruby simply with
Ruby.getDefaultInstance()
I also tried setting up some stuff that I saw being set up in the BSF
code (LoadManager,...), but
this didn't change it.
If it works for other multithreaded situations, hm... any idea what _I_
could be doing wrong?
murphee
--
Blog @ http://jroller.com/page/murphee
Maintainer of EclipseShell @ http://eclipse-shell.sourceforge.net/
-------------------------------------------------------
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
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
