Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

[Other] LoadError: load error: jopenssl/load -- java.lang.IncompatibleClassChangeError: Implementing class #234

Open
dapinder-dhillon opened this issue Apr 19, 2018 · 0 comments

Comments

@dapinder-dhillon
Copy link

Getting below exception in one of the project whereas it works perfectly fine in other.
Dont have ANY idea what seems wrong here.. Does AWS SDK version matter.. The project where it works is having aws-java-sdk-s3-1.11.63 and where it doesnt is having aws-java-sdk-s3-1.10.72.

require at org/jruby/RubyKernel.java:956
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55

at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/openssl.rb:1 require at org/jruby/RubyKernel.java:956 require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55 at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/ssl.rb:1 require at org/jruby/RubyKernel.java:956 require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55 at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/ssl.rb:10 require at org/jruby/RubyKernel.java:956 require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55 at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/https.rb:1 require at org/jruby/RubyKernel.java:956 (root) at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/https.rb:12 at uri:classloader:/gems/fakes3-0.2.4/lib/fakes3/server.rb:1 Disconnected from the target VM, address: '127.0.0.1:56475', transport: 'socket'

org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.IncompatibleClassChangeError: Implementing class

at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:131)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1307)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1352)
at com.elsevier.smd.s3.LocalS3.<init>(LocalS3.java:29)
at com.elsevier.smd.junit.rules.s3.LocalS3Statement.evaluate(LocalS3Statement.java:18)
at com.elsevier.smd.junit.rules.ClassAndMethodRuleCheckingStatement.evaluate(ClassAndMethodRuleCheckingStatement.java:80)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

Caused by: org.jruby.exceptions.RaiseException: (LoadError) load error: jopenssl/load -- java.lang.IncompatibleClassChangeError: Implementing class
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
at RUBY.

(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/openssl.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
at RUBY.(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/ssl.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
at RUBY.(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/ssl.rb:10)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
at RUBY.(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/https.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)
at RUBY.(root)(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/webrick/https.rb:12)
at RUBY.(uri:classloader:/gems/fakes3-0.2.4/lib/fakes3/server.rb:1)

Test ignored.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant