Terminates immediately after starting

Hello,
I tried to install logstash and read the guide. I've created the example .conf - file and started logstash with the command 'logstash -f simple.conf'

An error window popped up and said that Jruby launcher has stopped working and the console said:

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid

This application has requested the Runtime to terminate it in an unusual way.
Please contact the apllication's support team for more information.

I've installed the latest java version 1.8.0_73.

What OS? What version of LS? Can you paste the entire shell/CLI call you are making, and the response.

Thanks for replying!

OS: Windows 7 Professional SP1
Logstash: Package Logstash-all-plugins-2.2.0

Created a .conf file with:

input { stdin { } }
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}

Tried these commands:

bin/logstash -f logstash-simple.conf

cd logstash-{logstash_version}
bin/logstash -e 'input { stdin { } } output { stdout {} }'

Response:
(Yesterday)

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid

(Today)
I tried it again with the config file and it seems to work. Message:

io/console not supported; tty will not be manipulated
Settings: Default pipeline workers: 2
Logstash startup completed

What could've caused the error?