Usage of OpenSSL on AIX fails
-----------------------------

                 Key: JRUBY-4210
                 URL: http://jira.codehaus.org/browse/JRUBY-4210
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OpenSSL 0.5.1
         Environment: AIX 3.5
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 
jvmap3260sr4ifx-20090409_33254 (JIT enabled, AOT enabled)
            Reporter: Michael Fellinger
            Priority: Critical
             Fix For: JRuby-OpenSSL 0.5.2


Tried using HTTPClient, which is needed for SOAP4r to use HTTPS.
Got following backtrace ( paste also at 
http://pastie.org/private/n8zga6awmj4fn4uw14irpa )

jruby -e 'require "rubygems"; require "httpclient"; HTTPClient.new'
EVP.java:101:in `type': java.lang.NullPointerException
        from PKCS7.java:254:in `signatureVerify'
        from PKCS7.java:390:in `verify'
        from PKCS7.java:486:in `verify'
        from 
org/jruby/ext/openssl/PKCS7$i_method_0_0$RUBYINVOKER$verify.gen:-1:in `call'
        from CachingCallSite.java:280:in `cacheAndCall'
        from CachingCallSite.java:69:in `call'
        from CallManyArgsNode.java:59:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from IfNode.java:111:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from IfNode.java:117:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedBlock.java:317:in `evalBlockBody'
        from InterpretedBlock.java:268:in `yield'
        from Block.java:194:in `yield'
        from RubyArray.java:1635:in `eachCommon'
        from RubyArray.java:1642:in `each'
        from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:in 
`call'
        from CachingCallSite.java:300:in `cacheAndCall'
        from CachingCallSite.java:118:in `callBlock'
        from CachingCallSite.java:123:in `call'
        from CallNoArgBlockNode.java:64:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedMethod.java:136:in `call'
        from DefaultMethod.java:153:in `call'
        from CachingCallSite.java:290:in `cacheAndCall'
        from CachingCallSite.java:109:in `call'
        from VCallNode.java:85:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedMethod.java:192:in `call'
        from DefaultMethod.java:177:in `call'
        from CachingCallSite.java:320:in `cacheAndCall'
        from CachingCallSite.java:158:in `callBlock'
        from CachingCallSite.java:163:in `call'
        from RubyClass.java:709:in `call'
        from DynamicMethod.java:176:in `call'
        from CachingCallSite.java:310:in `cacheAndCall'
        from CachingCallSite.java:149:in `call'
        from CallOneArgNode.java:57:in `interpret'
        from InstAsgnNode.java:95:in `interpret'
        from AttrAssignOneArgNode.java:33:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedMethod.java:155:in `call'
        from DefaultMethod.java:161:in `call'
        from CachingCallSite.java:300:in `cacheAndCall'
        from CachingCallSite.java:118:in `callBlock'
        from CachingCallSite.java:123:in `call'
        from RubyClass.java:698:in `call'
        from DynamicMethod.java:168:in `call'
        from CachingCallSite.java:290:in `cacheAndCall'
        from CachingCallSite.java:109:in `call'
        from -e:1:in `__file__'
        from -e:-1:in `load'  
        from Ruby.java:628:in `runScript'
        from Ruby.java:550:in `runNormally'
        from Ruby.java:396:in `runFromMain'
        from Main.java:272:in `run'
        from Main.java:117:in `run'
        from Main.java:97:in `main'


-- 
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


Reply via email to