Skip to content

jruby 9.1.15 fails with NameError: cannot load Java class jline.console.ConsoleReader #4889

@petrvalkoun-gooddata

Description

@petrvalkoun-gooddata

windows 8.1 x64, clean install of JDK-8u152 x64, clean install of jruby 9.1.15 x64. Using gooddata gem (bundle install), running any sript using gooddata gem fails with below error. Works fine in jruby 9.1.13

NameError: cannot load Java class jline.console.ConsoleReader
for_name at org/jruby/javasupport/JavaClass.java:286
get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
block in java_import at uri:classloader:/jruby/java/core_ext/object.rb:49
map at org/jruby/RubyArray.java:2487
java_import at uri:classloader:/jruby/java/core_ext/object.rb:36
initialize_system_extensions at C:/jruby/lib/ruby/gems/shared/gems/highline-1.7.10/lib/highline/system_extensions.rb:21
initialize at C:/jruby/lib/ruby/gems/shared/gems/highline-1.7.10/lib/highline.rb:201

at C:/jruby/lib/ruby/gems/shared/gems/highline-1.7.10/lib/highline/import.rb:11
require at org/jruby/RubyKernel.java:955
require at C:/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
at C:/jruby/lib/ruby/gems/shared/gems/gooddata-0.6.53/lib/gooddata/commands/auth.rb:1
require at org/jruby/RubyKernel.java:955
require at C:/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
block in (root) at C:/jruby/lib/ruby/gems/shared/gems/gooddata-0.6.53/lib/gooddata/commands/auth.rb:7
each at org/jruby/RubyArray.java:1735
at C:/jruby/lib/ruby/gems/shared/gems/gooddata-0.6.53/lib/gooddata/commands/commands.rb:1
require at org/jruby/RubyKernel.java:955
(root) at C:/jruby/lib/ruby/gems/shared/gems/gooddata-0.6.53/lib/gooddata/commands/commands.rb:11
at C:/jruby/lib/ruby/gems/shared/gems/gooddata-0.6.53/lib/gooddata/commands/commands.rb:10
require at org/jruby/RubyKernel.java:955
(root) at uri:classloader:/jruby/kernel/kernel.rb:1
at scripts\create_service_project.rb:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions