-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
The following is a reproduction of the issue on the jruby issue tracker
I wrote a patch script to repair the jar for our environment.
Environment
- JRuby bundled in logstash 7.0.0 ( jar is
jruby-complete-9.2.7.0.jar) - Linux h1 4.14.0-29.el7a.ppc64le Minor web form change #1 SMP Mon Jan 22 16:26:32 EST 2018 ppc64le ppc64le ppc64le GNU/Linux
Other relevant info you may wish to add:
- Application : Logstash
Expected Behavior
- When running the
environment.rbJRuby should load all modules without exiting execution.
Actual Behavior
- When the JRuby Application (logstash) is loaded a LoadError is thrown by ffi/ffi. The bubbled error message is somewhat vague (to a user ignorant to JRuby).
[2019-05-03T10:41:38,701][ERROR][org.logstash.Logstash ]
java.lang.IllegalStateException: Logstash stopped processing because of an error:
(LoadError) load error: ffi/ffi -- java.lang.NullPointerException: null
Resolution
I was able to trace the bug to jruby/lib/ruby/stdlib/ffi/platform/powerpc64-linux/. It looks
as though the platform.conf file was not created for this platform. Copying the types.conf file to platform.conf appears to resolve the problem.
Metadata
Metadata
Assignees
Labels
No labels