![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.4 |
Assignee:
|
Unassigned |
Components:
|
Embedding |
Created:
|
14/Jul/13 3:58 AM
|
Description:
|
I use ScriptContainer for embeding JRuby to my Servlet application:
scriptingContainer = new ScriptingContainer(LocalContextScope.THREADSAFE, LocalVariableBehavior.TRANSIENT);
When I want to correctly destroy the created ScriptContainer,NPE is thrown:
java.lang.NullPointerException
at org.jruby.embed.internal.LocalContext.remove(LocalContext.java:102)
at org.jruby.embed.internal.ThreadSafeLocalContextProvider$1.remove(ThreadSafeLocalContextProvider.java:51)
at org.jruby.embed.internal.ThreadSafeLocalContextProvider.terminate(ThreadSafeLocalContextProvider.java:77)
at org.jruby.embed.ScriptingContainer.terminate(ScriptingContainer.java:1813)
|
Environment:
|
Windows 7, Oracle JDK 7_u25
|
Project:
|
JRuby
|
Priority:
|
Blocker
|
Reporter:
|
Kek
|
|
|
|
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