java.lang.NoClassDefFoundError

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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web8

Stack trace

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

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

We couldn't find other users who have seen this exception.