Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
4.10.2
-
None
-
None
-
windows 2008, osx yosemite with java 1.7.0_60
-
New
Description
during parsing of a query send to lucene via elasticSearch 1.4.2, i encounter that stackOverFlow exception on RegExp.
here the stack trace
Caused by: java.lang.StackOverflowError
at java.util.BitSet.(BitSet.java:154)
at org.apache.lucene.util.automaton.Automaton.(Automaton.java:75)
at org.apache.lucene.util.automaton.Automata.makeString(Automata.java:273)
at org.apache.lucene.util.automaton.RegExp.toAutomaton(RegExp.java:518)
at org.apache.lucene.util.automaton.RegExp.findLeaves(RegExp.java:553)
at org.apache.lucene.util.automaton.RegExp.findLeaves(RegExp.java:550)
at org.apache.lucene.util.automaton.RegExp.findLeaves(RegExp.java:551)
at org.apache.lucene.util.automaton.RegExp.findLeaves(RegExp.java:551)
Note : the regular expression is quite large and contains only ascii character and '|' character. let me know, If you need the value of the regular expression. This issue was firstly raise to elastic search component on github that use the 4.10.2 version of lucene and identify as a lucene issue.