Skip to content

Instantly share code, notes, and snippets.

@kares
Last active March 3, 2020 16:18
Show Gist options
  • Save kares/85669d9834e25889b4e99075b7b22308 to your computer and use it in GitHub Desktop.
Save kares/85669d9834e25889b4e99075b7b22308 to your computer and use it in GitHub Desktop.
LS upgrade to JRuby 9.2.11(10)
java.lang.ArrayIndexOutOfBoundsException: -1
at org.jruby.runtime.ThreadContext.getBackRef(ThreadContext.java:574)
at org.jruby.RubyRegexp.getBackRefInternal(RubyRegexp.java:1358)
at org.jruby.RubyRegexp.search(RubyRegexp.java:1319)
at org.jruby.RubyRegexp.matchPos(RubyRegexp.java:1220)
at org.jruby.RubyRegexp.matchCommon(RubyRegexp.java:1188)
at org.jruby.RubyRegexp.match_m(RubyRegexp.java:1154)
at org.jruby.RubyRegexp$INVOKER$i$match_m.call(RubyRegexp$INVOKER$i$match_m.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:172)
at org.jruby.RubyString.match19(RubyString.java:1679)
at org.jruby.RubyString.match(RubyString.java:1673)
at org.logstash.config.ir.compiler.EventCondition$Compiler$FieldMatches.fulfilled(EventCondition.java:485)
at org.logstash.config.ir.compiler.Utils.filterEvents(Utils.java:27)
at org.logstash.generated.CompiledDataset22.compute(Unknown Source)
at org.logstash.generated.CompiledDataset23.compute(Unknown Source)
at org.logstash.generated.CompiledDataset25.compute(Unknown Source)
at org.logstash.execution.WorkerLoop.compute(WorkerLoop.java:105)
at org.logstash.execution.WorkerLoop.run(WorkerLoop.java:67)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:441)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:305)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:32)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:141)
at elastic.logstash.logstash_minus_core.lib.logstash.java_pipeline.invokeOther4:run(/home/kares/workspace/work/elastic/logstash/logstash-core/lib/logstash/java_pipeline.rb:263)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment