RaiseException: (IOError) The filename, directory name, or volume label syntax is incorrect

Description

Running logstash-1.1.10 with the following config under win32 and jre7u21

( BEGIN logstash-simple.conf )
input {
stdin {
type => "stdin-type"
}
}

output {
stdout { }
elasticsearch { embedded => true }
}
( END logstash-simple.conf )

$ java -jar logstash-1.1.10-flatjar.jar agent -f logstash-simple.conf – web --backend elasticsearch://localhost/

causes the following exception:
Caching file entries for /C:/TEMP/logstash-1.1.10-flatjar.jar
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (IOError) The filename, directory name, or volume label syntax is incorrect
at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:333)
at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1179)
at RUBY.IDNA(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:328)
at RUBY.Addressable(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:20)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/idna/pure.rb:19)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/idna.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/idna.rb:24)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/uri.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/addressable/uri.rb:20)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/ftw/request.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/ftw/request.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at Kernel.require(jar:file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at Kernel.require(file:/C:/TEMP/logstash-1.1.10-flatjar.jar!/logstash/JRUBY-6970.rb:13)
at logstash.runner.run(logstash/runner.rb:104)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249)
at logstash.runner.run(logstash/runner.rb:199)
at logstash.runner.main(logstash/runner.rb:74)
at logstash.runner.(root)(logstash/runner.rb:224)

Gliffy Diagrams

Activity

Show:

Philippe Weber August 1, 2014 at 11:59 AM

A little more aggressive garbage-collect on jira.com, expecting follow-up activities to take place on github issues

Jason Kendall March 5, 2014 at 4:05 PM

Is this still an issue in 1.3.3?

Francesco August 13, 2013 at 8:25 AM

Hi,

I have the same issue running logstash 1.1.13-flatjar on Windows 7 with Java 7.

Can you help please?

Regards,

Former user July 29, 2013 at 6:42 PM

Hello,

I just installed logstash-1.1.13-flatjar.jar running on Windows 7 with Java 7 (Java(TM) SE Runtime Environment (build pwa6470sr3-20121025_01(SR3)) and am running into the same problem. Any suggestions?

Jordan Sissel May 7, 2013 at 7:13 AM

Thank you for testing!

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Created April 17, 2013 at 7:00 AM
Updated August 1, 2014 at 11:59 AM
Resolved May 7, 2013 at 7:13 AM