Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2018-06-11 19:22:53 -0400
committerJeff Johnston2018-06-11 20:17:31 -0400
commitb2366f4a815b1e48ec9f0927be6f922faf6dae73 (patch)
treee266ee9a0681ab0684b72b9656b8c6713935d3f5
parent4c761a5bfdc88c231bcf0706fc6b6b3d40785485 (diff)
downloadorg.eclipse.linuxtools-b2366f4a815b1e48ec9f0927be6f922faf6dae73.tar.gz
org.eclipse.linuxtools-b2366f4a815b1e48ec9f0927be6f922faf6dae73.tar.xz
org.eclipse.linuxtools-b2366f4a815b1e48ec9f0927be6f922faf6dae73.zip
Bug 535781 - [EPP Photon RC3] java.lang.NoClassDefFoundError
- add check for IllegalArgumentException to DockerConnection ping() method in case 127.0.0.1 is not set up with a host name Change-Id: I7f33b193942132f987790b070d98aa0a97d5b302 Reviewed-on: https://git.eclipse.org/r/124371 Tested-by: CI Bot Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
index 6a02351a9d..583f54170f 100644
--- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
+++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
@@ -379,7 +379,7 @@ public class DockerConnection
}
setState(EnumDockerConnectionState.ESTABLISHED);
} catch (com.spotify.docker.client.exceptions.DockerException
- | InterruptedException e) {
+ | InterruptedException | IllegalArgumentException e) {
setState(EnumDockerConnectionState.CLOSED);
throw new DockerPingConnectionException(NLS.bind(
Messages.Docker_Daemon_Ping_Failure, this.getName()), e);

Back to the top