org.testcontainers.containers.ContainerLaunchException: Container startup failed

GitHub | scetix | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 221#246264897

    GitHub | 8 months ago | scetix
    org.testcontainers.containers.ContainerLaunchException: Container startup failed
  2. 0

    GitHub comment 297#282163199

    GitHub | 3 months ago | kiview
    org.testcontainers.containers.ContainerLaunchException: Container startup failed
  3. 0
    samebug tip
    Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.
    via gmane.org
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException in skyframe.DelegatingWalkableGraph#getEntry

    GitHub | 1 year ago | damienmg
    java.lang.NullPointerException: PACKAGE:@protobuf//
  6. 0

    bazel run command fails on Windows : process-wrapper not found in embedded tools

    GitHub | 1 year ago | meteorcloudy
    java.lang.NullPointerException: process-wrapper not found in embedded tools
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    containerId was not specified

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228)
    1 frame
  3. docker-java
    DockerClientImpl.logContainerCmd
    1. com.github.dockerjava.core.command.LogContainerCmdImpl.withContainerId(LogContainerCmdImpl.java:78)
    2. com.github.dockerjava.core.command.LogContainerCmdImpl.<init>(LogContainerCmdImpl.java:38)
    3. com.github.dockerjava.core.DockerClientImpl.logContainerCmd(DockerClientImpl.java:335)
    3 frames
  4. org.testcontainers.containers
    GenericContainer.lambda$start$0
    1. org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:231)
    2. org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:169)
    2 frames
  5. org.rnorth.ducttape
    Unreliables.retryUntilSuccess
    1. org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
    2. org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:83)
    2 frames
  6. org.testcontainers.containers
    FailureDetectingExternalResource$1.evaluate
    1. org.testcontainers.containers.GenericContainer.start(GenericContainer.java:167)
    2. org.testcontainers.containers.GenericContainer.start(GenericContainer.java:174)
    3. org.testcontainers.containers.DockerCompose.start(DockerComposeContainer.java:305)
    4. org.testcontainers.containers.DockerComposeContainer.pullImages(DockerComposeContainer.java:92)
    5. org.testcontainers.containers.DockerComposeContainer.starting(DockerComposeContainer.java:82)
    6. org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
    6 frames
  7. JUnit
    JUnitCore.run
    1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
    2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    4. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    5. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    6. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    7. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    8. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    9. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    10. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    11. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    12. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    12 frames
  8. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)
    1 frame
  9. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
    2 frames
  10. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    2 frames
  11. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
    1 frame