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 | 6 months 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

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

    GitHub | 6 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