org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed

GitHub | clintongormley | 4 months ago
  1. 0

    GitHub comment 20550#248249107

    GitHub | 4 months ago | clintongormley
    org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
  2. 0
    Probably you try to create an actor using actorSystem.actorOf(Props(classOf[AnyActor], args...)) where args does not match AnyActor constructor parameters.
  3. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      While loop has no escape. at org.elasticsearch.painless.Executable$Script.compile(while (true) {} @ <inline script>:1) ~[?:?]

      at org.elasticsearch.painless.node.SWhile.analyze()
    2. org.elasticsearch.painless
      PainlessScriptEngineService$2.run
      1. org.elasticsearch.painless.node.SWhile.analyze(SWhile.java:74)[?:?]
      2. org.elasticsearch.painless.node.SSource.analyze(SSource.java:190)[?:?]
      3. org.elasticsearch.painless.node.SSource.analyze(SSource.java:162)[?:?]
      4. org.elasticsearch.painless.Compiler.compile(Compiler.java:104)[?:?]
      5. org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:171)[?:?]
      6. org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:168)[?:?]
      6 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_73]
      1 frame
    4. org.elasticsearch.painless
      PainlessScriptEngineService.compile
      1. org.elasticsearch.painless.PainlessScriptEngineService.compile(PainlessScriptEngineService.java:168)[?:?]
      1 frame
    5. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.script.ScriptService.compileInternal(ScriptService.java:339)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      2. org.elasticsearch.script.ScriptService.compile(ScriptService.java:235)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      3. org.elasticsearch.script.ScriptService.search(ScriptService.java:490)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      4. org.elasticsearch.search.SearchService.parseSource(SearchService.java:738)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      5. org.elasticsearch.search.SearchService.createContext(SearchService.java:534)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      6. org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:501)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      7. org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:242)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      8. org.elasticsearch.action.search.SearchTransportService.lambda$registerRequestHandler$667(SearchTransportService.java:276)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      9. org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      10. org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      11. org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:548)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      12. org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      13. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      14. org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:548)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      15. org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      16. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)[elasticsearch-6.0.0-alpha1-SNAPSHOT.jar:6.0.0-alpha1-SNAPSHOT]
      16 frames