-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Milestone
Description
very likely due having old jruby-openssl (jruby): jruby/jruby-openssl#142
Caused by: org.jruby.embed.EvalFailedException: (LoadError) load error: jopenssl/load -- java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
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:1300)
at org.torquebox.mojo.rubygems.DefaultRubygemsGateway.<init>(DefaultRubygemsGateway.java:36)
at org.torquebox.mojo.mavengem.Rubygems.<clinit>(Rubygems.java:27)
... 53 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) load error: jopenssl/load -- java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:955)
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.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/openssl.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:955)
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.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/security.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:955)
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.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/security.rb:12)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:955)
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.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:955)
at RUBY.(root)(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:44)
at RUBY.<main>(uri:classloader:/nexus/gemspec_helper_impl.rb:1)
for whatever reason I am getting it on 9.1.17.0 as well but only as I run rmvn (mvn seems fine)
same issue as jruby/jruby-maven-plugins#91 but I felt its in the wrong place
there's also the unsupported Java version warning, likely coming from maven itself.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby Lib Setup 9.2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: mavengem:https://rubygems.org/rubygems/jar-dependencies/0.4.0/jar-dependencies-0.4.0.pom
unsupported Java version "11", defaulting to 1.7
full-trace at https://gist.github.com/kares/14c75cd6642016b787337440cd9fb1ad
... guess we'll need to update ruby-maven-libs with newer JRuby and Maven itself?
Metadata
Metadata
Assignees
Labels
No labels