org.testcontainers.containers.ContainerFetchException

Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@4463d9d3

Solutions on the web6

  • Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@4463d9d3
  • via GitHub by dbyron0
    , 1 year ago
    Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@133e019b
  • via GitHub by Villane
    , 10 months ago
    Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@6b04acb2
  • Stack trace

    • org.testcontainers.containers.ContainerFetchException: Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@4463d9d3 at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:674) at org.testcontainers.containers.GenericContainer.setDockerImageName(GenericContainer.java:662) at org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:139) at org.testcontainers.containers.FixedHostPortGenericContainer.<init>(FixedHostPortGenericContainer.java:16) at eu.decsis.robots.MessagingServiceTest.$spock_initializeSharedFields(MessagingServiceTest.groovy:30) Caused by: java.lang.NullPointerException at java.util.Collections.addAll(Collections.java:5400) at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:59) at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:21) at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20) at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:27) at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:672) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.