Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby-OSSL 0.7.4, JRuby 1.6.3
    • Fix Version/s: JRuby-OSSL 0.7.5
    • Component/s: OpenSSL
    • Labels:
      None
    • Environment:
      OSX Lion
    • Number of attachments :
      0

      Description

      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)
      

        Activity

        Hiroshi Nakamura made changes -
        Field Original Value New Value
        Assignee Hiroshi Nakamura [ nahi ]
        Hiroshi Nakamura made changes -
        Description 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)
        {noformat}
        require 'openssl'
        OpenSSL::PKCS7.new
        {noformat}

        {noformat}
        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)
        {noformat}
        Hiroshi Nakamura made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s JRuby-OSSL 0.7.5 [ 17395 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Hiroshi Nakamura
            Reporter:
            David Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: