java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0

Stack Overflow | Gadi | 1 week ago
  1. 0

    Unable to initialize PlatformDependent0 due to lack of sun.misc.Unsafe in classpath

    GitHub | 2 months ago | jellenelis
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0
  2. 0

    GitHub comment 21122#258301610

    GitHub | 3 months ago | ppf2
    java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
  3. 0

    GitHub comment 5806#247437535

    GitHub | 4 months ago | juherr
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "Could not initialize class io.netty.util.concurrent.DefaultPromise" when the slf4j implementation uses Netty

    GitHub | 4 months ago | juherr
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise
  6. 0

    java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise

    GitHub | 4 months ago | juherr
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.concurrent.DefaultPromise

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

      Could not initialize class io.netty.util.internal.PlatformDependent0

      at io.netty.util.internal.PlatformDependent.<clinit>()
    2. Netty
      NioEventLoopGroup.<init>
      1. io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:101)
      2. io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
      3. io.netty.util.Signal$1.<init>(Signal.java:27)
      4. io.netty.util.Signal.<clinit>(Signal.java:27)
      5. io.netty.util.concurrent.DefaultPromise.<clinit>(DefaultPromise.java:42)
      6. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:36)
      7. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
      8. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
      9. io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:58)
      10. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:77)
      11. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72)
      12. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:59)
      12 frames
    3. Vert.x Core
      Vertx.vertx
      1. io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:133)
      2. io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:122)
      3. io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:118)
      4. io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:34)
      5. io.vertx.core.Vertx.vertx(Vertx.java:80)
      5 frames
    4. com.example.hello
      VertxRegistrationService.start
      1. com.example.hello.web.VertxRegistrationService.lambda$0(VertxRegistrationService.java:26)
      2. com.example.hello.web.TcclSwitch.executeWithTCCLSwitch(TcclSwitch.java:11)
      3. com.example.hello.web.VertxRegistrationService.start(VertxRegistrationService.java:26)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. Apache Felix Declarative Services
      Activator$ScrExtension.start
      1. org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
      2. org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
      3. org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)
      4. org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
      5. org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)
      6. org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)
      7. org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)
      8. org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)
      9. org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)
      10. org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)
      11. org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)
      12. org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)
      13. org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)
      14. org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)
      15. org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)
      16. org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)
      16 frames
    7. Apache Felix Bundle Repository
      AbstractExtender.addingBundle
      1. org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
      2. org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
      3. org.apache.felix.utils.extender.AbstractExtender.addingBundle(AbstractExtender.java:192)
      3 frames
    8. OSGi
      BundleTracker.open
      1. org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
      2. org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)
      3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
      4. org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
      5. org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:156)
      5 frames
    9. Apache Felix Bundle Repository
      AbstractExtender.doStart
      1. org.apache.felix.utils.extender.AbstractExtender.startTracking(AbstractExtender.java:150)
      2. org.apache.felix.utils.extender.AbstractExtender.doStart(AbstractExtender.java:142)
      2 frames
    10. Apache Felix Declarative Services
      Activator.doStart
      1. org.apache.felix.scr.impl.Activator.doStart(Activator.java:170)
      1 frame
    11. Apache Felix Bundle Repository
      AbstractExtender.start
      1. org.apache.felix.utils.extender.AbstractExtender.start(AbstractExtender.java:114)
      1 frame
    12. Apache Felix Declarative Services
      Activator.start
      1. org.apache.felix.scr.impl.Activator.restart(Activator.java:140)
      2. org.apache.felix.scr.impl.config.ScrConfiguration.configure(ScrConfiguration.java:215)
      3. org.apache.felix.scr.impl.config.ScrConfiguration.start(ScrConfiguration.java:136)
      4. org.apache.felix.scr.impl.Activator.start(Activator.java:110)
      4 frames
    13. Apache Felix Framework
      BundleImpl.start
      1. org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
      2. org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)
      3. org.apache.felix.framework.Felix.startBundle(Felix.java:2144)
      4. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
      4 frames
    14. aQute.launcher
      Launcher.main
      1. aQute.launcher.Launcher.update(Launcher.java:483)
      2. aQute.launcher.Launcher.activate(Launcher.java:382)
      3. aQute.launcher.Launcher.run(Launcher.java:276)
      4. aQute.launcher.Launcher.main(Launcher.java:133)
      4 frames