com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/plain;charset=utf-8, type=class com.spotify.docker.client.messages.Version, genericType=class com.spotify.docker.client.messages.Version.

GitHub | vberruchon | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    DefaultDockerClient.build() failing on wrong content type=text/plain instead of json with Docker Engine v1.10.3.

    GitHub | 7 months ago | vberruchon
    com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/plain;charset=utf-8, type=class com.spotify.docker.client.messages.Version, genericType=class com.spotify.docker.client.messages.Version.

    Root Cause Analysis

    1. com.spotify.docker.client.exceptions.DockerException

      java.util.concurrent.ExecutionException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/plain;charset=utf-8, type=class com.spotify.docker.client.messages.Version, genericType=class com.spotify.docker.client.messages.Version.

      at com.spotify.docker.client.DefaultDockerClient.propagate()
    2. com.spotify.docker
      DefaultDockerClient.build
      1. com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:1607)
      2. com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:1538)
      3. com.spotify.docker.client.DefaultDockerClient.version(DefaultDockerClient.java:393)
      4. com.spotify.docker.client.DefaultDockerClient.authRegistryHeader(DefaultDockerClient.java:1646)
      5. com.spotify.docker.client.DefaultDockerClient.build(DefaultDockerClient.java:1147)
      6. com.spotify.docker.client.DefaultDockerClient.build(DefaultDockerClient.java:1106)
      7. com.spotify.docker.client.DefaultDockerClient.build(DefaultDockerClient.java:1092)
      7 frames