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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Gadi
, 10 months ago
Could not initialize class io.netty.util.internal.PlatformDependent0
via Google Groups by Gadi Eichhorn, 10 months ago
Could not initialize class io.netty.util. internal.PlatformDependent0
via GitHub by jellenelis
, 11 months ago
Could not initialize class io.netty.util.internal.PlatformDependent0
via GitHub by johnou
, 1 year ago
Could not initialize class io.netty.util.internal.PlatformDependent0
java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.PlatformDependent0
at io.netty.util.internal.PlatformDependent.(PlatformDependent.java:101)
at io.netty.util.ConstantPool.(ConstantPool.java:32)
at io.netty.util.Signal$1.(Signal.java:27)
at io.netty.util.Signal.(Signal.java:27)
at io.netty.util.concurrent.DefaultPromise.(DefaultPromise.java:42)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:36)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47)
at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:58)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:77)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:72)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:59)
at io.vertx.core.impl.VertxImpl.(VertxImpl.java:133)
at io.vertx.core.impl.VertxImpl.(VertxImpl.java:122)
at io.vertx.core.impl.VertxImpl.(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 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.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
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.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.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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.