javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host

Java.net JIRA | Libor Kramolis | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JERSEY-2223] jetty-connector's TimeoutTest.testUnknownHost sometimes fails "No route to host" - Java.net JIRA

    java.net | 2 years ago
    javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host
  2. 0

    Test expects {{SocketTimeoutException}} is thrown but on some hudson servers it throws {{NoRouteToHostException}}. {code} java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at org.glassfish.jersey.jetty.connector.TimeoutTest.testUnknownHost(TimeoutTest.java:142) Standard Error javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host at org.glassfish.jersey.jetty.connector.JettyConnector.apply(JettyConnector.java:249) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:217) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:655) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:652) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:652) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:387) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:291) at org.glassfish.jersey.jetty.connector.TimeoutTest.testUnknownHost(TimeoutTest.java:138) ... Caused by: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host 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:470) at org.glassfish.jersey.jetty.connector.JettyConnector.apply(JettyConnector.java:234) ... 42 more Caused by: java.net.NoRouteToHostException: No route to host at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735) at org.eclipse.jetty.io.SelectorManager.finishConnect(SelectorManager.java:260) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processConnect(SelectorManager.java:532) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:505) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:458) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:423) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) at java.lang.Thread.run(Thread.java:724) {code}

    Java.net JIRA | 3 years ago | Libor Kramolis
    javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host
  3. 0

    Test expects {{SocketTimeoutException}} is thrown but on some hudson servers it throws {{NoRouteToHostException}}. {code} java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at org.glassfish.jersey.jetty.connector.TimeoutTest.testUnknownHost(TimeoutTest.java:142) Standard Error javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host at org.glassfish.jersey.jetty.connector.JettyConnector.apply(JettyConnector.java:249) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:217) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:655) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:652) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:652) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:387) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:291) at org.glassfish.jersey.jetty.connector.TimeoutTest.testUnknownHost(TimeoutTest.java:138) ... Caused by: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host 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:470) at org.glassfish.jersey.jetty.connector.JettyConnector.apply(JettyConnector.java:234) ... 42 more Caused by: java.net.NoRouteToHostException: No route to host at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735) at org.eclipse.jetty.io.SelectorManager.finishConnect(SelectorManager.java:260) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processConnect(SelectorManager.java:532) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:505) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:458) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:423) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) at java.lang.Thread.run(Thread.java:724) {code}

    Java.net JIRA | 3 years ago | Libor Kramolis
    javax.ws.rs.ProcessingException: java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ws.rs.ProcessingException

      java.util.concurrent.ExecutionException: java.net.NoRouteToHostException: No route to host

      at org.glassfish.jersey.jetty.connector.JettyConnector.apply()
    2. org.glassfish.jersey
      JettyConnector.apply
      1. org.glassfish.jersey.jetty.connector.JettyConnector.apply(JettyConnector.java:249)
      1 frame
    3. jersey-core-client
      JerseyInvocation$1.call
      1. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:217)
      2. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:655)
      3. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:652)
      3 frames
    4. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)
      4 frames
    5. jersey-core-client
      JerseyInvocation$Builder.get
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:652)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:387)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:291)
      3 frames
    6. org.glassfish.jersey
      TimeoutTest.testUnknownHost
      1. org.glassfish.jersey.jetty.connector.TimeoutTest.testUnknownHost(TimeoutTest.java:138)
      1 frame