Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by clintongormley
, 1 year ago
via GitHub by vroyer
, 7 months ago
via Stack Overflow by Dipt166
, 8 months ago
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(SWhile.java:74)	at org.elasticsearch.painless.node.SSource.analyze(SSource.java:190)	at org.elasticsearch.painless.node.SSource.analyze(SSource.java:162)	at org.elasticsearch.painless.Compiler.compile(Compiler.java:104)	at org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:171)	at org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:168)	at java.security.AccessController.doPrivileged(Native Method)	at org.elasticsearch.painless.PainlessScriptEngineService.compile(PainlessScriptEngineService.java:168)	at org.elasticsearch.script.ScriptService.compileInternal(ScriptService.java:339)	at org.elasticsearch.script.ScriptService.compile(ScriptService.java:235)	at org.elasticsearch.script.ScriptService.search(ScriptService.java:490)	at org.elasticsearch.search.SearchService.parseSource(SearchService.java:738)	at org.elasticsearch.search.SearchService.createContext(SearchService.java:534)	at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:501)	at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:242)	at org.elasticsearch.action.search.SearchTransportService.lambda$registerRequestHandler$667(SearchTransportService.java:276)	at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69)	at org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:548)	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504)	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)	at org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:548)	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:504)	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)