java.lang.ExceptionInInitializerError

GitHub | dbyron0 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    test failures in version 1.1.0

    GitHub | 8 months ago | dbyron0
    java.lang.IllegalStateException: failed to create a child event loop
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 170#230904684

    GitHub | 8 months ago | dbyron0
    java.lang.IllegalStateException: failed to create a child event loop

    Root Cause Analysis

    1. java.io.IOException

      Too many open files

      at sun.nio.ch.IOUtil.makePipe()
    2. Java RT
      KQueueSelectorProvider.openSelector
      1. sun.nio.ch.IOUtil.makePipe(Native Method)
      2. sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:84)
      3. sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:42)
      3 frames
    3. Netty
      NioEventLoopGroup.<init>
      1. io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125)
      2. io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119)
      3. io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97)
      4. io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31)
      5. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77)
      6. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:48)
      7. io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:57)
      8. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:67)
      9. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:54)
      9 frames
    4. com.github.dockerjava
      DockerCmdExecFactoryImpl.init
      1. com.github.dockerjava.netty.DockerCmdExecFactoryImpl$InetSocketInitializer.init(DockerCmdExecFactoryImpl.java:241)
      2. com.github.dockerjava.netty.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:197)
      2 frames
    5. docker-java
      DockerClientBuilder.build
      1. com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:159)
      2. com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:45)
      2 frames
    6. org.testcontainers.dockerclient
      DockerClientProviderStrategy.getClient
      1. org.testcontainers.dockerclient.DockerClientProviderStrategy.getClientForConfig(DockerClientProviderStrategy.java:103)
      2. org.testcontainers.dockerclient.DockerClientProviderStrategy.getClient(DockerClientProviderStrategy.java:96)
      2 frames
    7. org.testcontainers
      DockerClientFactory.client
      1. org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:85)
      2. org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:70)
      2 frames
    8. org.testcontainers.containers
      GenericContainer.<init>
      1. org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:105)
      1 frame
    9. org.testcontainers.junit
      GenericContainerRuleTest.<clinit>
      1. org.testcontainers.junit.GenericContainerRuleTest.<clinit>(GenericContainerRuleTest.java:76)
      1 frame
    10. Java RT
      Field.get
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
      6. java.lang.reflect.Field.get(Field.java:393)
      6 frames
    11. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkField.get(FrameworkField.java:73)
      2. org.junit.runners.model.TestClass.getAnnotatedFieldValues(TestClass.java:230)
      3. org.junit.runners.ParentRunner.classRules(ParentRunner.java:255)
      4. org.junit.runners.ParentRunner.withClassRules(ParentRunner.java:244)
      5. org.junit.runners.ParentRunner.classBlock(ParentRunner.java:194)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:362)
      6 frames
    12. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      3 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    14. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      5 frames