NullPointerException in SSLSocket.java
--------------------------------------
Key: JRUBY-1933
URL: http://jira.codehaus.org/browse/JRUBY-1933
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby 1.0.3
Environment: Macintosh OS 10.5, Tomcat 6, JDK 1.5
Reporter: David M. Holmes
Trying another route since I couldn't get SOAP4R to work via HTTPS with JRuby
(see http://jira.codehaus.org/browse/JRUBY-1808). So I'm using Net::HTTP which
works fine with C Ruby. Deployed in Tomcat I get following stack trace
(partial) from a Net::HTTP.request_post() call that works in C Ruby.
NativeException in LoginController#login
java.lang.NullPointerException: null
SSLSocket.java:435:in `org.jruby.ext.openssl.SSLSocket.close'
SSLSocket.java:446:in `org.jruby.ext.openssl.SSLSocket.sysclose'
null:-1:in `org.jruby.ext.openssl.SSLSocketInvokersysclose0.call'
FastInvocationCallback.java:49:in
`org.jruby.runtime.callback.FastInvocationCallback.execute'
SimpleCallbackMethod.java:81:in
`org.jruby.internal.runtime.methods.SimpleCallbackMethod.call'
EvaluationState.java:1779:in `org.jruby.evaluator.EvaluationState.vcallNode'
EvaluationState.java:382:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:533:in `org.jruby.evaluator.EvaluationState.blockNode'
EvaluationState.java:201:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:164:in `org.jruby.evaluator.EvaluationState.eval'
DefaultMethod.java:142:in
`org.jruby.internal.runtime.methods.DefaultMethod.internalCall'
DynamicMethod.java:79:in `org.jruby.internal.runtime.methods.DynamicMethod.call'
EvaluationState.java:571:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:164:in `org.jruby.evaluator.EvaluationState.eval'
DefaultMethod.java:142:in
`org.jruby.internal.runtime.methods.DefaultMethod.internalCall'
DynamicMethod.java:79:in `org.jruby.internal.runtime.methods.DynamicMethod.call'
EvaluationState.java:571:in `org.jruby.evaluator.EvaluationState.callNode'
EvaluationState.java:207:in `org.jruby.evaluator.EvaluationState.evalInternal'
EvaluationState.java:533:in `org.jruby.evaluator.EvaluationState.blockNode'
EvaluationState.java:201:in `org.jruby.evaluator.EvaluationState.evalInternal'
--
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