NPE at Connection Shutdown
--------------------------
Key: JRUBY-2425
URL: http://jira.codehaus.org/browse/JRUBY-2425
Project: JRuby
Issue Type: Bug
Components: ActiveRecord-JDBC
Environment: JRuby 1.1.1/AR-JDBC 0.8
Reporter: Peter K Chan
I am getting occasional NPE while running my unit tests. I don't have a
reproducible test case (it happens occasionally), but by the look of the site
of exception, it looks like it may be fixed just be looking at the code. I
don't know enough of the internals to be able to fix it myself, but I am hoping
that someone who knows can use the NPE report to figure out where the bug is.
Exception in thread "Tasker" java.lang.NullPointerException
at
jdbc_adapter.JdbcAdapterInternalService.rollback(JdbcAdapterInternalService.java:400)
at
jdbc_adapter.JdbcAdapterInternalServiceInvoker$rollback_s_method_0_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZero.call(JavaMethod.java:82)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:235)
at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:658)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:309)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:169)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:172)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:148)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:116)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:270)
at
org.jruby.evaluator.ASTInterpreter.vcallNode(ASTInterpreter.java:1746)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:485)
at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:632)
........
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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