Aurelien PISU created LUCENE-6156:
-------------------------------------

             Summary: StackOverFlow error during parsing of a request
                 Key: LUCENE-6156
                 URL: https://issues.apache.org/jira/browse/LUCENE-6156
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/queryparser
    Affects Versions: 4.10.2
         Environment: windows 2008, osx yosemite with java 1.7.0_60
            Reporter: Aurelien PISU
            Priority: Critical


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to