java.lang.ExceptionInInitializerError

GitHub | aldrinmartoq | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 4312#261824087

    GitHub | 3 months ago | shirosaki
    java.lang.reflect.InvocationTargetException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Thread-level events explode due to empty stack

    GitHub | 10 months ago | headius
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. 0

    GitHub comment 3781#215492078

    GitHub | 10 months ago | headius
    java.lang.ArrayIndexOutOfBoundsException: -1

    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.LinkageError

      loader constraint violation: when resolving method "org.jruby.runtime.scope.ManyVarsDynamicScope.<init>(Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;)V" the class loader (instance of <bootloader>) of the current class, java/lang/Object, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for the method's defining class, org/jruby/runtime/scope/ManyVarsDynamicScope, have different Class objects for the type org/jruby/parser/StaticScope used in the signature

      at java.lang.invoke.MethodHandleNatives.resolve()
    2. Java RT
      MethodHandles$Lookup.findConstructor
      1. java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      2. java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975)
      3. java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000)
      4. java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1381)
      5. java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:919)
      5 frames
    3. JRuby Main Maven Artifact
      Ruby.newInstance
      1. org.jruby.runtime.scope.ManyVarsDynamicScope.<clinit>(ManyVarsDynamicScope.java:36)
      2. org.jruby.runtime.ThreadContext.<init>(ThreadContext.java:214)
      3. org.jruby.runtime.ThreadContext.newContext(ThreadContext.java:85)
      4. org.jruby.internal.runtime.ThreadService.initMainThread(ThreadService.java:166)
      5. org.jruby.Ruby.init(Ruby.java:1161)
      6. org.jruby.Ruby.newInstance(Ruby.java:334)
      6 frames
    4. JRuby-Rack
      RackServletContextListener.contextInitialized
      1. org.jruby.rack.DefaultRackApplicationFactory.newRuntime(DefaultRackApplicationFactory.java:337)
      2. org.jruby.rack.DefaultRackApplicationFactory$RackApplicationImpl.<init>(DefaultRackApplicationFactory.java:438)
      3. org.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:426)
      4. org.jruby.rack.DefaultRackApplicationFactory.newApplication(DefaultRackApplicationFactory.java:99)
      5. org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:113)
      6. org.jruby.rack.SharedRackApplicationFactory.doInit(SharedRackApplicationFactory.java:34)
      7. org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:100)
      8. org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
      8 frames
    5. Undertow Servlet
      DeploymentManagerImpl.deploy
      1. io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      2. io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)
      2 frames
    6. WildFly: Undertow
      UndertowDeploymentService$1.run
      1. org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
      2. org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
      2 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames
    8. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame