javax.ws.rs.ProcessingException

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.

  • 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}
    via by Libor Kramolis,
  • 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}
    via by Libor Kramolis,
    • 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)
    No Bugmate found.