You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<<< ERROR: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.github.dockerjava.api.model.Info.getMemTotal()" is null
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.github.dockerjava.api.model.Info.getMemTotal()" is null
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:228)
at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:108)
at com.github.dockerjava.api.DockerClientDelegate.pingCmd(DockerClientDelegate.java:124)
Additional Information
private static boolean tryOutStrategy(List<String> configurationFailures, DockerClientProviderStrategy strategy) {
try {
log.debug("Trying out strategy: {}", strategy.getClass().getSimpleName());
if (!strategy.test()) {
log.debug("strategy {} did not pass the test", strategy.getClass().getSimpleName());
return false;
}
strategy.info = strategy.getDockerClient().infoCmd().exec();
log.info("Found Docker environment with {}", strategy.getDescription());
log.debug(
Module
Core
Testcontainers version
1.20.2
Using the latest Testcontainers version?
Yes
Host OS
linux fedora silverblue
Host Arch
x64
Docker version
podman
What happened?
Exception while calc getMemTotel with null
Relevant log output
<<< ERROR: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.github.dockerjava.api.model.Info.getMemTotal()" is null
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.github.dockerjava.api.model.Info.getMemTotal()" is null
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:228)
at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:108)
at com.github.dockerjava.api.DockerClientDelegate.pingCmd(DockerClientDelegate.java:124)
Additional Information
the
strategy.info
is
The text was updated successfully, but these errors were encountered: