org.jruby.exceptions.RaiseException: (IOError) Connection timed out

JIRA | Andrei | 3 years ago
  1. 0

    While this version of logstash is given a input { file {...} }, it complains about a missing unicode.data file. input { stdin {...} } gives no error. {noformat} rei@DimensionX:~/dev/logstash-testing$ java -jar logstash-1.1.6.dev-flatjar.jar agent -e'input{}output{}' adfa {"@source"=>"stdin://DimensionX/", "@tags"=>[], "@fields"=>{}, "@timestamp"=>"2012-11-19T22:46:51.589Z", "@source_host"=>"DimensionX", "@source_path"=>"/", "@message"=>"adfa", "@type"=>"stdin" {noformat} {noformat} rei@DimensionX:~/dev/logstash-testing$ java -jar logstash-1.1.6.dev-flatjar.jar agent -e'input { file { path => 'anywhere' } } Errno::ENOENT: No such file or directory - file:/home/rei/dev/logstash-testing/data/unicode.data initialize at org/jruby/RubyFile.java:315 open at org/jruby/RubyIO.java:1176 IDNA at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/idna/pure.rb:322 Addressable at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/idna/pure.rb:20 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/idna/pure.rb:19 require at org/jruby/RubyKernel.java:1019 require at jar:file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36 require at logstash/runner.rb:10 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/idna.rb:1 require at org/jruby/RubyKernel.java:1019 require at jar:file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36 require at logstash/runner.rb:10 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/idna.rb:24 require at org/jruby/RubyKernel.java:1019 require at jar:file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36 require at logstash/runner.rb:10 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/uri.rb:1 require at org/jruby/RubyKernel.java:1019 require at jar:file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36 require at logstash/runner.rb:10 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/addressable/uri.rb:20 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/inputs/file.rb:1 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/inputs/file.rb:7 each at org/jruby/RubyArray.java:1612 (root) at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:1 each at org/jruby/RubyHash.java:1192 tryload at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:57 parse at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:42 each at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:86 each at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:85 synchronize at org/jruby/ext/thread/Mutex.java:149 each at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:78 parse at file:/home/rei/dev/logstash-testing/logstash-1.1.6.dev-flatjar.jar!/logstash/config/file.rb:34 Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) No such file or directory - file:/home/rei/dev/logstash-testing/data/unicode.data at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1400) at org.jruby.RubyIO.write(org/jruby/RubyIO.java:2378) at org.jruby.RubyIO.puts(org/jruby/RubyIO.java:2333) at org.jruby.RubyIO.puts(org/jruby/RubyIO.java:2325) at logstash.runner.main(logstash/runner.rb:53) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) at logstash.runner.main(logstash/runner.rb:52) at logstash.runner.(root)(logstash/runner.rb:156) {noformat}

    JIRA | 4 years ago | Stephon Striplin
    org.jruby.exceptions.RaiseException: (SystemExit) No such file or directory - file:/home/rei/dev/logstash-testing/data/unicode.data
  2. 0

    New exceptions being raised in java thread

    GitHub | 2 years ago | monkstone
    org.jruby.exceptions.RaiseException: (IOError) closed stream at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1308) at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1285)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    New exceptions being raised in java thread

    GitHub | 2 years ago | monkstone
    org.jruby.exceptions.RaiseException: (IOError) closed stream at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1422) at org.jruby.RubyKernel.p(org/jruby/RubyKernel.java:482)
  5. 0

    Unfortunately I can't provide you with my filter configuration, but I can provide you an error stack trace. Hope you can do something with it. {panel}Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LocalJumpError) yield called out of block at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:31) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:24) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:59) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:56) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) at RUBY.flusher(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:53) at RUBY.run(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:37) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249) at RUBY.interval(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/stud/interval.rb:11) at RUBY.interval(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/stud/interval.rb:25) at RUBY.run(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filterworker.rb:37) {panel}

    JIRA | 3 years ago | Johan Carinus
    org.jruby.exceptions.RaiseException: (LocalJumpError) yield called out of block at LogStash::Filters::Clone.filter(file:/home/johan/logstash/logstash-1.1.13-flatjar.jar!/logstash/filters/clone.rb:31)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (IOError) Connection timed out

      at org.jruby.RubyIO.write()
    2. JRuby Main Maven Artifact
      RubyIO.puts
      1. org.jruby.RubyIO.write(org/jruby/RubyIO.java:1408)
      2. org.jruby.RubyIO.write(org/jruby/RubyIO.java:2452)
      3. org.jruby.RubyIO.puts(org/jruby/RubyIO.java:2342)
      3 frames