Skip to content

Instantly share code, notes, and snippets.

@mkristian
Created February 8, 2016 19:44
Show Gist options
  • Save mkristian/19f6d742acd4f490daa5 to your computer and use it in GitHub Desktop.
Save mkristian/19f6d742acd4f490daa5 to your computer and use it in GitHub Desktop.
LoadError: load error: jopenssl/load -- java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/jruby/ext/openssl/SecurityHelper.verify(Ljava/security/cert/X509CRL;Ljava/security/PublicKey;Z)Z @206: invokevirtual
Reason:
Type 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' (current frame, stack[1]) is not assignable to 'org/bouncycastle/crypto/params/AsymmetricKeyParameter'
Current Frame:
bci: @206
flags: { }
locals: { 'java/security/cert/X509CRL', 'java/security/PublicKey', integer, 'org/bouncycastle/operator/DefaultDigestAlgorithmIdentifierFinder', top, 'java/math/BigInteger', 'java/security/interfaces/DSAParams', 'org/bouncycastle/crypto/params/DSAParameters', 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' }
stack: { 'org/bouncycastle/operator/bc/BcDSAContentVerifierProviderBuilder', 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' }
Bytecode:
0x0000000: 2ac1 0089 9900 692a b800 8ac0 008b 4e2d
0x0000010: b600 8cb6 008d 3a04 2db6 008e 1904 b600
0x0000020: 8f9a 0013 1c99 0005 03ac bb00 9059 1291
0x0000030: b700 92bf 2ab6 0093 b200 0db8 006f 3a05
0x0000040: 1905 2bb6 0094 1905 2ab6 0095 b600 9619
0x0000050: 052a b600 97b6 0098 9a00 131c 9900 0503
0x0000060: acbb 0099 5912 9ab7 009b bf04 acbb 009c
0x0000070: 59b7 009d 4e12 9e2b b900 9f01 00b6 00a0
0x0000080: 9900 562b c000 a1b9 00a2 0100 3a05 2bc0
0x0000090: 00a1 b900 a301 003a 06bb 00a4 5919 06b9
0x00000a0: 00a5 0100 1906 b900 a601 0019 06b9 00a7
0x00000b0: 0100 b700 a83a 07bb 00a9 5919 0519 07b7
0x00000c0: 00aa 3a08 bb00 ab59 2db7 00ac 1908 b600
0x00000d0: ad3a 04a7 0036 2bc0 00ae b900 af01 003a
0x00000e0: 052b c000 aeb9 00b0 0100 3a06 bb00 b159
0x00000f0: 0319 0519 06b7 00b2 3a07 bb00 b359 2db7
0x0000100: 00b4 1907 b600 b53a 04bb 00b6 592a b600
0x0000110: b7b7 00b8 1904 b600 b9ac 4ebb 0099 592d
0x0000120: b700 bbbf 4ebb 0099 592d b700 bbbf 4ebb
0x0000130: 0099 592d b700 bbbf 4ebb 0099 592d b700
0x0000140: bbbf
Exception Handler Table:
bci [109, 281] => handler: 282
bci [109, 281] => handler: 292
bci [109, 281] => handler: 302
bci [109, 281] => handler: 312
Stackmap Table:
append_frame(@42,Object[#433],Object[#434])
same_frame(@52)
append_frame(@97,Object[#377])
same_frame(@107)
chop_frame(@109,3)
append_frame(@214,Object[#435])
append_frame(@265,Object[#436])
full_frame(@282,{Object[#437],Object[#438],Integer},{Object[#439]})
same_locals_1_stack_item_frame(@292,Object[#440])
same_locals_1_stack_item_frame(@302,Object[#441])
same_locals_1_stack_item_frame(@312,Object[#442])
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/openssl.rb:1
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/security.rb:1
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/security.rb:11
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:1
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:43
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/indexer.rb:1
require at org/jruby/RubyKernel.java:937
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<top> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/indexer.rb:2
2016-02-08 20:39:18,815+0100 WARN [qtp1921450319-650] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Service failure
org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/jruby/ext/openssl/SecurityHelper.verify(Ljava/security/cert/X509CRL;Ljava/security/PublicKey;Z)Z @206: invokevirtual
Reason:
Type 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' (current frame, stack[1]) is not assignable to 'org/bouncycastle/crypto/params/AsymmetricKeyParameter'
Current Frame:
bci: @206
flags: { }
locals: { 'java/security/cert/X509CRL', 'java/security/PublicKey', integer, 'org/bouncycastle/operator/DefaultDigestAlgorithmIdentifierFinder', top, 'java/math/BigInteger', 'java/security/interfaces/DSAParams', 'org/bouncycastle/crypto/params/DSAParameters', 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' }
stack: { 'org/bouncycastle/operator/bc/BcDSAContentVerifierProviderBuilder', 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' }
Bytecode:
0x0000000: 2ac1 0089 9900 692a b800 8ac0 008b 4e2d
0x0000010: b600 8cb6 008d 3a04 2db6 008e 1904 b600
0x0000020: 8f9a 0013 1c99 0005 03ac bb00 9059 1291
0x0000030: b700 92bf 2ab6 0093 b200 0db8 006f 3a05
0x0000040: 1905 2bb6 0094 1905 2ab6 0095 b600 9619
0x0000050: 052a b600 97b6 0098 9a00 131c 9900 0503
0x0000060: acbb 0099 5912 9ab7 009b bf04 acbb 009c
0x0000070: 59b7 009d 4e12 9e2b b900 9f01 00b6 00a0
0x0000080: 9900 562b c000 a1b9 00a2 0100 3a05 2bc0
0x0000090: 00a1 b900 a301 003a 06bb 00a4 5919 06b9
0x00000a0: 00a5 0100 1906 b900 a601 0019 06b9 00a7
0x00000b0: 0100 b700 a83a 07bb 00a9 5919 0519 07b7
0x00000c0: 00aa 3a08 bb00 ab59 2db7 00ac 1908 b600
0x00000d0: ad3a 04a7 0036 2bc0 00ae b900 af01 003a
0x00000e0: 052b c000 aeb9 00b0 0100 3a06 bb00 b159
0x00000f0: 0319 0519 06b7 00b2 3a07 bb00 b359 2db7
0x0000100: 00b4 1907 b600 b53a 04bb 00b6 592a b600
0x0000110: b7b7 00b8 1904 b600 b9ac 4ebb 0099 592d
0x0000120: b700 bbbf 4ebb 0099 592d b700 bbbf 4ebb
0x0000130: 0099 592d b700 bbbf 4ebb 0099 592d b700
0x0000140: bbbf
Exception Handler Table:
bci [109, 281] => handler: 282
bci [109, 281] => handler: 292
bci [109, 281] => handler: 302
bci [109, 281] => handler: 312
Stackmap Table:
append_frame(@42,Object[#433],Object[#434])
same_frame(@52)
append_frame(@97,Object[#377])
same_frame(@107)
chop_frame(@109,3)
append_frame(@214,Object[#435])
append_frame(@265,Object[#436])
full_frame(@282,{Object[#437],Object[#438],Integer},{Object[#439]})
same_locals_1_stack_item_frame(@292,Object[#440])
same_locals_1_stack_item_frame(@302,Object[#441])
same_locals_1_stack_item_frame(@312,Object[#442])
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:131) [na:na]
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1307) [na:na]
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1300) [na:na]
at org.sonatype.nexus.ruby.DefaultRubygemsGateway.<init>(DefaultRubygemsGateway.java:43) [na:na]
at org.sonatype.nexus.repository.rubygems.internal.RubygemsContentHandler.system(RubygemsContentHandler.java:152) [na:na]
at org.sonatype.nexus.repository.rubygems.internal.RubygemsContentHandler.handle(RubygemsContentHandler.java:69) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.http.PartialFetchHandler.handle(PartialFetchHandler.java:55) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46) [na:na]
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [na:na]
at org.sonatype.nexus.repository.view.Context.start(Context.java:102) [na:na]
at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58) [na:na]
at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43) [na:na]
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198) [na:na]
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160) [na:na]
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117) [na:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api:3.1.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment