x509store.PEMInputOutput.writeX509Request causes NullPointerException
---------------------------------------------------------------------

                 Key: JRUBY-5060
                 URL: http://jira.codehaus.org/browse/JRUBY-5060
             Project: JRuby
          Issue Type: Bug
          Components: OpenSSL
    Affects Versions: JRuby-OSSL 0.7.1
         Environment: Machine:
Linux 2.6.32-24-generic Ubuntu SMP i686 
Problem seen with both:
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2010-02-11 6586) (Java HotSpot(TM) 
Client VM 1.6.0_20) [i386-java]
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-07-30 6586) (Java HotSpot(TM) 
Client VM 1.6.0_20) [i386-java]

            Reporter: Mark Walker


Seen at Object creation (before any app-specific data) in irb when it tries to 
output the newly-minted obj to console

$ jirb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'openssl'
=> true
irb(main):003:0> req = OpenSSL::X509::Request.new
Java::JavaLang::NullPointerException: 
#<Java::JavaLang::NullPointerException:0x1ef4b2b>
        from 
org.jruby.ext.openssl.x509store.PEMInputOutput.writeX509Request(PEMInputOutput.java:729)
        from org.jruby.ext.openssl.Request.to_pem(Request.java:185)
        from 
org.jruby.ext.openssl.Request$i_method_0_0$RUBYINVOKER$to_pem.call(org/jruby/ext/openssl/Request$i_method_0_0$RUBYINVOKER$to_pem.gen:65535)
        from org.jruby.RubyClass.finvoke(RubyClass.java:598)
...snip

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