Issue Type: Bug Bug
Affects Versions: JRuby 1.7.2, JRuby 1.7.1
Assignee: Unassigned
Components: Embedding
Created: 08/Jan/13 6:23 PM
Description:

After calling ScriptingContainer.clear() (which should release global variables and mappings), I'm getting a NullPointerException upon a runScriptlet() call:

Caused by: java.lang.NullPointerException
at org.jruby.embed.internal.BiVariableMap.getLocalVarNames(BiVariableMap.java:338)
at org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.getManyVarsDynamicScope(EmbedRubyRuntimeAdapterImpl.java:219)
at org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.runParser(EmbedRubyRuntimeAdapterImpl.java:172)
at org.jruby.embed.internal.EmbedRubyRuntimeAdapterImpl.parse(EmbedRubyRuntimeAdapterImpl.java:92)
at org.jruby.embed.ScriptingContainer.parse(ScriptingContainer.java:1195)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1255)
at ... 35 more

Project: JRuby
Priority: Major Major
Reporter: Gergely Nagy
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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