jruby-openssl with IBM jvm 1.6.0
--------------------------------

                 Key: JRUBY-5316
                 URL: http://jira.codehaus.org/browse/JRUBY-5316
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby 1.4
         Environment: Windows XP + Jruby 1.4.1 + IBM jvm 1.6.0 + jruby-openssl 
(0.7.2)
            Reporter: Julien Bonhomme


I reproduced the error described in the ticket [JRUBY-4210] with the IBM java 6 
but in a different environment (Windows).

I used the last version of jruby-openssl(0.7.2). This issue has not been solved.
See the Java dump trigged the followinf test command:

C:\>jruby -ve "require 'rubygems'; require 'httpclient'; puts 
HTTPClient.get_content('https://www.amazon.com/')"
jruby 1.4.1 (ruby 1.8.7 patchlevel 174) (2010-04-26 ea6db6a) (IBM J9 VM 1.6.0) 
[x86-java]
EVP.java:101:in `type': java.lang.NullPointerException
        from PKCS7.java:244:in `signatureVerify'
        from PKCS7.java:381:in `verify'
        from PKCS7.java:508: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 VCallNode.java:85:in `interpret'
        from LocalAsgnNode.java:123:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedMethod.java:173:in `call'
        from DefaultMethod.java:169:in `call'
        from CachingCallSite.java:310:in `cacheAndCall'
        from CachingCallSite.java:149: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'


The IBM Java can be downloaded from the IBM website with their Dev Eclipse 
package:
http://www.ibm.com/developerworks/java/jdk/eclipse/index.html

* Java version:
C:\>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 
jvmwi3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_lHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02

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