org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Embulk::GuessCsv::TFGuess at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2723) at RUBY.guess_type(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:159) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at org.jruby.RubyEnumerable.each_with_index(org/jruby/RubyEnumerable.java:977) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:114) at RUBY.guess_lines(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:29) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:105) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:44)

GitHub | muga | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    spi2's Embulk gets NameError by sample config.yml

    GitHub | 2 years ago | muga
    org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Embulk::GuessCsv::TFGuess at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2723) at RUBY.guess_type(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:159) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at org.jruby.RubyEnumerable.each_with_index(org/jruby/RubyEnumerable.java:977) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:114) at RUBY.guess_lines(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:29) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:105) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:44)

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (NameError) uninitialized constant Embulk::GuessCsv::TFGuess at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2723) at RUBY.guess_type(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:159) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at org.jruby.RubyEnumerable.each_with_index(org/jruby/RubyEnumerable.java:977) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:115) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.guess_field_types(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:114) at RUBY.guess_lines(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_csv.rb:29) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:105) at RUBY.guess(file:/Users/muga/works/workspace/embulk/embulk-cli/target/dependency/embulk-core-0.1.0-SNAPSHOT.jar!/embulk/guess_plugin.rb:44)

      at Embulk$$GuessPlugin$$JavaAdapter_1955955176.guess()
    2. Unknown
      Embulk$$GuessPlugin$$JavaAdapter_1955955176.guess
      1. Embulk$$GuessPlugin$$JavaAdapter_1955955176.guess(Embulk$$GuessPlugin$$JavaAdapter_1955955176.gen:13)
      1 frame