Skip to content

NullPointerException in DockerClientFactory.dockerHostIpAddress with localstack container on 1.12.4 #2120

@lanwen

Description

@lanwen

We use static init and catching NPE on 1.12.4 release

Caused by: java.lang.NullPointerException
	at org.testcontainers.DockerClientFactory.dockerHostIpAddress(DockerClientFactory.java:240)
	at org.testcontainers.containers.ContainerState.getContainerIpAddress(ContainerState.java:29)
	at org.testcontainers.containers.localstack.LocalStackContainer.configure(LocalStackContainer.java:64)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:307)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions