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

GitHub | mariomourao | 4 months ago
  1. 0

    Error when exists container image without tag

    GitHub | 4 months ago | mariomourao
    org.testcontainers.containers.ContainerFetchException: Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@4463d9d3
  2. 0

    NPE when using JSoup and appengine 1.7

    Stack Overflow | 4 years ago | ZeoS
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SrpConnection sorting methods need to parse sorting parameters to pass in the proper "pattern1", "offset_or_count2" and "pattern3" arguments. Currently the following code results in the NPE below b/c pattern3 cannot be null. Fixing this reveals further issues with SrpUtils.toByteList(), which squashes all the params with no spaces. {code} connection.sort("sortlist", new DefaultSortParameters(null, Order.ASC, true)); {code} Exception: {code} org.springframework.data.redis.RedisSystemException: Unknown SRP exception; nested exception is java.lang.NullPointerException at org.springframework.data.redis.connection.srp.SrpConnection.convertSrpAccessException(SrpConnection.java:119) at org.springframework.data.redis.connection.srp.SrpConnection.sort(SrpConnection.java:221) at org.springframework.data.redis.connection.DefaultStringRedisConnection.sort(DefaultStringRedisConnection.java:990) at org.springframework.data.redis.connection.AbstractConnectionIntegrationTests.testSort(AbstractConnectionIntegrationTests.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.NullPointerException at java.util.Collections.addAll(Collections.java:3520) at redis.client.RedisClient.sort(RedisClient.java:1841) at org.springframework.data.redis.connection.srp.SrpConnection.sort(SrpConnection.java:219) ... 32 more {code}

    Spring JIRA | 4 years ago | Jennifer Hickey
    org.springframework.data.redis.RedisSystemException: Unknown SRP exception; nested exception is java.lang.NullPointerException
  5. 0

    SrpConnection sorting methods need to parse sorting parameters to pass in the proper "pattern1", "offset_or_count2" and "pattern3" arguments. Currently the following code results in the NPE below b/c pattern3 cannot be null. Fixing this reveals further issues with SrpUtils.toByteList(), which squashes all the params with no spaces. {code} connection.sort("sortlist", new DefaultSortParameters(null, Order.ASC, true)); {code} Exception: {code} org.springframework.data.redis.RedisSystemException: Unknown SRP exception; nested exception is java.lang.NullPointerException at org.springframework.data.redis.connection.srp.SrpConnection.convertSrpAccessException(SrpConnection.java:119) at org.springframework.data.redis.connection.srp.SrpConnection.sort(SrpConnection.java:221) at org.springframework.data.redis.connection.DefaultStringRedisConnection.sort(DefaultStringRedisConnection.java:990) at org.springframework.data.redis.connection.AbstractConnectionIntegrationTests.testSort(AbstractConnectionIntegrationTests.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.NullPointerException at java.util.Collections.addAll(Collections.java:3520) at redis.client.RedisClient.sort(RedisClient.java:1841) at org.springframework.data.redis.connection.srp.SrpConnection.sort(SrpConnection.java:219) ... 32 more {code}

    Spring JIRA | 4 years ago | Jennifer Hickey
    org.springframework.data.redis.RedisSystemException: Unknown SRP exception; nested exception is java.lang.NullPointerException

    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

      No message provided

      at java.util.Collections.addAll()
    2. Java RT
      Collections.addAll
      1. java.util.Collections.addAll(Collections.java:5400)
      1 frame
    3. org.testcontainers.images
      RemoteDockerImage.resolve
      1. org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:59)
      2. org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:21)
      2 frames
    4. org.testcontainers.utility
      LazyFuture.get
      1. org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
      2. org.testcontainers.utility.LazyFuture.get(LazyFuture.java:27)
      2 frames
    5. org.testcontainers.containers
      FixedHostPortGenericContainer.<init>
      1. org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:672)
      2. org.testcontainers.containers.GenericContainer.setDockerImageName(GenericContainer.java:662)
      3. org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:139)
      4. org.testcontainers.containers.FixedHostPortGenericContainer.<init>(FixedHostPortGenericContainer.java:16)
      4 frames
    6. eu.decsis.robots
      MessagingServiceTest.$spock_initializeSharedFields
      1. eu.decsis.robots.MessagingServiceTest.$spock_initializeSharedFields(MessagingServiceTest.groovy:30)
      1 frame