java.lang.ExceptionInInitializerError

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8215

  • This exception has no message.
  • This exception has no message.
  • via Terracotta by acs, 11 months ago
    This exception has no message.
  • Stack trace

    • java.lang.ExceptionInInitializerError at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.ExceptionInInitializerError at org.jruby.runtime.ThreadContext.<init>(ThreadContext.java:214) at org.jruby.runtime.ThreadContext.newContext(ThreadContext.java:85) at org.jruby.internal.runtime.ThreadService.initMainThread(ThreadService.java:166) at org.jruby.Ruby.init(Ruby.java:1161) at org.jruby.Ruby.newInstance(Ruby.java:334) at org.jruby.rack.DefaultRackApplicationFactory.newRuntime(DefaultRackApplicationFactory.java:337) at org.jruby.rack.DefaultRackApplicationFactory$RackApplicationImpl.<init>(DefaultRackApplicationFactory.java:438) at org.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:426) at org.jruby.rack.DefaultRackApplicationFactory.newApplication(DefaultRackApplicationFactory.java:99) at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:113) at org.jruby.rack.SharedRackApplicationFactory.doInit(SharedRackApplicationFactory.java:34) at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:100) at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50) at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: BUG: could not initialize constructor handle at org.jruby.runtime.scope.ManyVarsDynamicScope.<clinit>(ManyVarsDynamicScope.java:39) ... 23 more Caused by: java.lang.IllegalAccessException: no such constructor: org.jruby.runtime.scope.ManyVarsDynamicScope.<init>(StaticScope,DynamicScope)void
    • ewInvokeSpecial at java.lang.invoke.MemberName.makeAccessException(MemberName.java:867) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1003) at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1381) at java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:919) at org.jruby.runtime.scope.ManyVarsDynamicScope.<clinit>(ManyVarsDynamicScope.java:36) ... 23 more Caused by: 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(Native Method) at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.