[2017-12-22T08:41:10,876][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: negative length -36 given>, :backtrace=>["org/jruby/ext/stringio/StringIO.java:829:in read'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:106:in
read'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:93:in read_bytes'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:99:in
read_string'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:299:in read_data'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:384:in
read_record'", "org/jruby/RubyArray.java:1613:in each'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:382:in
read_record'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:310:in read_data'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/avro-1.8.2/lib/avro/io.rb:275:in
read'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-avro-3.2.1-java/lib/logstash/codecs/avro.rb:77:in decode'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-kafka-4.1.1/lib/logstash/inputs/kafka.rb:163:in
thread_runner'", "file:/Data/tools/logstash/vendor/jruby/lib/jruby.jar!/jruby/java/java_ext/java.lang.rb:12:in each'", "/Data/tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-kafka-4.1.1/lib/logstash/inputs/kafka.rb:162:in
thread_runner'"]}
Any solution to avoid this and not stop Logstash from running?