# Exception in thread "main" org.jruby.exceptions.RaiseException

**URL:** <https://discuss.elastic.co/t/exception-in-thread-main-org-jruby-exceptions-raiseexception/41475>\
**Category:** Logstash\
**Created:** [February 11, 2016, 11:28am UTC](https://discuss.elastic.co/t/exception-in-thread-main-org-jruby-exceptions-raiseexception/41475 "2016-02-11T11:28:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shrawan\_Bhagwat](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@Shrawan\_Bhagwat](https://discuss.elastic.co/u/Shrawan_Bhagwat)\
**Post date:** [February 11, 2016, 11:28am UTC](https://discuss.elastic.co/t/exception-in-thread-main-org-jruby-exceptions-raiseexception/41475/1 "2016-02-11T11:28:19Z")

</div>

Hi All,

I am trying to logstash-1.1.10 using ./logstashctrl start command.

I am getting the below error:

Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) Could not load FFI Provider: (NotImplementedError) FFI not available: null  
See [http://jira.codehaus.org/browse/JRUBY-4583](http://jira.codehaus.org/browse/JRUBY-4583)  
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)  
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom\_require.rb:36)  
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)  
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/ffi/ffi.rb:69)  
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)  
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom\_require.rb:1)  
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom\_require.rb:36)  
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)  
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)  
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/ffi.rb:1)  
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom\_require.rb:1)  
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom\_require.rb:36)  
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)  
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)  
at RUBY.(root)(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/util.rb:2)  
at logstash.runner.main(logstash/runner.rb:53)  
at logstash.runner.(root)(logstash/runner.rb:224)

We are using LINUX OS 64 bit.

I have tried following command that i got from one of the post  
java -Djruby.native.verbose=true -Djava.io.tmpdir=jruby-temp-dir -jar jruby-complete.jar -rffi -e :ok

but still i am unable to solve this problem.

Please help!

Thanks in Advance! 🙂

Regards,  
Shrawan

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 14, 2016, 4:14pm UTC](https://discuss.elastic.co/t/exception-in-thread-main-org-jruby-exceptions-raiseexception/41475/2 "2016-02-14T16:14:20Z")

</div>

Logstash 1.1.10? That's almost three years old. I strongly suggest that you upgrade to something less ancient.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:11am UTC](https://discuss.elastic.co/t/exception-in-thread-main-org-jruby-exceptions-raiseexception/41475/3 "2017-07-06T05:11:35Z")

</div>


