java.util.concurrent.ExecutionException

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.

  • GitHub comment 973#250807580
    via GitHub by arya6000
    ,
  • scanner deadlock?
    via by Geoff Hendrey,
  • error in data push
    via symmetricds by darkcloudb
    ,
  • Almost on daily basis my Jenkins is shutting down is taking ALL slaves offline. The reasons for this is unknown to me and looks like a severe bug. Can you please help to check this? Based on my observation I notice that connecting new slaves seems to fail with an SSL exception. ---- Sep 22, 2015 8:08:42 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: java.nio.channels.ClosedChannelException at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source) at sun.nio.ch.SocketChannelImpl.write(Unknown Source) at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:402) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:337) at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48) at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:738) at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.shutdownOutput(SslConnection.java:641) at org.eclipse.jetty.io.nio.SslConnection.onIdleExpired(SslConnection.java:260) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.onIdleExpired(SelectChannelEndPoint.java:349) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:326) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Sep 22, 2015 8:08:48 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: handle failed java.lang.IllegalStateException: Internal error at sun.security.ssl.SSLEngineImpl.initHandshaker(Unknown Source) at sun.security.ssl.SSLEngineImpl.readRecord(Unknown Source) at sun.security.ssl.SSLEngineImpl.readNetRecord(Unknown Source) at sun.security.ssl.SSLEngineImpl.unwrap(Unknown Source) at javax.net.ssl.SSLEngine.unwrap(Unknown Source) at org.eclipse.jetty.io.nio.SslConnection.unwrap(SslConnection.java:536) at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:401) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:193) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ---- Shortly afterwards I can see that Jenkins is taking ALL slaves offline ---- Sep 22, 2015 8:20:54 AM hudson.slaves.ChannelPinger$1 onDead INFO: Ping failed. Terminating the channel SLAVE-101051. java.util.concurrent.TimeoutException: Ping started at 1442902614156 hasn't completed by 1442902854206 at hudson.remoting.PingThread.ping(PingThread.java:126) at hudson.remoting.PingThread.run(PingThread.java:85) ---- Afterwards ALL slaves want to register back to Jenkins but Jenkins is rejecting it with ---- INFO: Accepted connection #288 from /10.0.209.109:64213 Sep 22, 2015 8:47:00 AM jenkins.slaves.JnlpSlaveHandshake error WARNING: TCP slave agent connection handler #288 with /10.0.209.109:64213 is aborted: SLAVE-719161 is already connected to this master. Rejecting this connection. Sep 22, 2015 8:47:00 AM hudson.TcpSlaveAgentListener$ConnectionHandler run ---- If Jenkins kicks out all slaves, I would expect Jenkins to allow it get automatically accepted again instead of referring to already existing connection. But that all slaves are being taken offline at once due to PING FAIL is rather a bug. Please find full logs attached as well!
    via by Hans Baer,
    • java.util.concurrent.ExecutionException: org.eclipse.jetty.io.EofException at org.eclipse.jetty.client.util.FutureResponseListener.getResult(FutureResponseListener.java:118) at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:101) at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:652) at org.eclipse.jetty.client.HttpClient.GET(HttpClient.java:343) at org.eclipse.jetty.client.HttpClient.GET(HttpClient.java:328) at jettytest.Main.main(Main.java:29) Caused by: org.eclipse.jetty.io.EofException at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:199) at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:840) at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:140) at org.eclipse.jetty.client.http.HttpSenderOverHTTP$HeadersCallback.process(HttpSenderOverHTTP.java:230) at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) at org.eclipse.jetty.client.http.HttpSenderOverHTTP.sendHeaders(HttpSenderOverHTTP.java:58) at org.eclipse.jetty.client.HttpSender.send(HttpSender.java:204) at org.eclipse.jetty.client.http.HttpChannelOverHTTP.send(HttpChannelOverHTTP.java:79) at org.eclipse.jetty.client.HttpConnection.send(HttpConnection.java:205) at org.eclipse.jetty.client.http.HttpConnectionOverHTTP$Delegate.send(HttpConnectionOverHTTP.java:202) at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.send(HttpConnectionOverHTTP.java:82) at org.eclipse.jetty.client.http.HttpDestinationOverHTTP.send(HttpDestinationOverHTTP.java:37) at org.eclipse.jetty.client.http.HttpDestinationOverHTTP.send(HttpDestinationOverHTTP.java:27) at org.eclipse.jetty.client.PoolingHttpDestination.process(PoolingHttpDestination.java:165) at org.eclipse.jetty.client.PoolingHttpDestination.process(PoolingHttpDestination.java:113) at org.eclipse.jetty.client.PoolingHttpDestination.send(PoolingHttpDestination.java:97) at org.eclipse.jetty.client.PoolingHttpDestination.succeeded(PoolingHttpDestination.java:84) at org.eclipse.jetty.client.DuplexConnectionPool.proceed(DuplexConnectionPool.java:171) at org.eclipse.jetty.client.DuplexConnectionPool$1.succeeded(DuplexConnectionPool.java:148) at org.eclipse.jetty.client.DuplexConnectionPool$1.succeeded(DuplexConnectionPool.java:139) at org.eclipse.jetty.util.Promise$Wrapper.succeeded(Promise.java:78) at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onOpen(HttpConnectionOverHTTP.java:90) at org.eclipse.jetty.io.ssl.SslConnection.onOpen(SslConnection.java:162) at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:200) at org.eclipse.jetty.client.HttpProxy$CreateTunnelPromise.tunnelSucceeded(HttpProxy.java:215) at org.eclipse.jetty.client.HttpProxy$CreateTunnelPromise.lambda$tunnel$0(HttpProxy.java:184) at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193) at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185) at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:457) at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:404) at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:270) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1331) at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:159) at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:120) at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70) at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:90) at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:115) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Unknown Source) Caused by: java.nio.channels.ClosedChannelException at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source) at sun.nio.ch.SocketChannelImpl.write(Unknown Source) at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:177) ... 48 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    mauritius
    1 times, last one,
    poroszd
    1 times, last one,
    Unknown visitor1 times, last one,
    7 more bugmates