jruby-openssl does NullPointerException on OpenSSL::PKCS7.new -------------------------------------------------------------
Key: JRUBY-5972 URL: https://jira.codehaus.org/browse/JRUBY-5972 Project: JRuby Issue Type: Bug Components: OpenSSL Affects Versions: JRuby 1.6.3, JRuby-OSSL 0.7.4 Environment: OSX Lion Reporter: David Lee require 'openssl' OpenSSL::PKCS7.new Java::JavaLang::NullPointerException: from org.jruby.ext.openssl.PKCS7.to_pem(PKCS7.java:560) from org.jruby.ext.openssl.PKCS7$i$0$0$to_pem.call(PKCS7$i$0$0$to_pem.gen:65535) from org.jruby.RubyClass.finvoke(RubyClass.java:618) from org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:545) from org.jruby.RubyBasicObject.inspect(RubyBasicObject.java:1060) from org.jruby.RubyKernel.inspect(RubyKernel.java:1944) from org.jruby.RubyKernel$s$0$0$inspect.call(RubyKernel$s$0$0$inspect.gen:65535) from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) from org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) from org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38) from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) from org.jruby.ast.IfNode.interpret(IfNode.java:117) from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) from org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) from org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) ... 103 levels... from org.jruby.ast.BlockNode.interpret(BlockNode.java:71) from org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) from org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) from org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) -- This message is automatically generated by JIRA. 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