io.vertx.core.VertxException: Thread blocked

Hot problem!
This exception has a lot of traffic. You can help 13 users by writing a short tip.

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 Google Groups by Arnaud Estève, 1 year ago
via Google Groups by Sean Burns, 5 months ago
via Google Groups by javadevmtl, 8 months ago
via Google Groups by Nguyễn Anh Quế, 3 months ago
via Google Groups by Mikhail Chuprynski, 1 year ago
io.vertx.core.VertxException: Thread blocked
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
at sun.management.VMManagementImpl.getVmId(VMManagementImpl.java:140)
at sun.management.RuntimeImpl.getName(RuntimeImpl.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.netty.channel.DefaultChannelId.defaultProcessId(DefaultChannelId.java:149)
at io.netty.channel.DefaultChannelId.(DefaultChannelId.java:84)
at io.netty.channel.AbstractChannel.newId(AbstractChannel.java:105)
at io.netty.channel.AbstractChannel.(AbstractChannel.java:77)
at io.netty.channel.nio.AbstractNioChannel.(AbstractNioChannel.java:87)
at io.netty.channel.nio.AbstractNioMessageChannel.(AbstractNioMessageChannel.java:42)
at io.netty.channel.socket.nio.NioDatagramChannel.(NioDatagramChannel.java:146)
at io.netty.channel.socket.nio.NioDatagramChannel.(NioDatagramChannel.java:114)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:38)
at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:318)
at io.netty.bootstrap.AbstractBootstrap.register(AbstractBootstrap.java:234)
at io.vertx.core.dns.impl.fix.DnsNameResolver.(DnsNameResolver.java:188)
at io.vertx.core.dns.impl.fix.DnsNameResolverBuilder.build(DnsNameResolverBuilder.java:364)
at io.netty.resolver.AddressResolverGroup.getResolver(AddressResolverGroup.java:67)
at io.vertx.core.impl.AddressResolver.resolveHostname(AddressResolver.java:162)
at io.vertx.core.impl.VertxImpl.resolveAddress(VertxImpl.java:683)
at io.vertx.core.net.impl.AsyncResolveConnectHelper.doBind(AsyncResolveConnectHelper.java:74)
at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:256)
at com.decathlon.stores.indexing.api.RESTSearchServer.start(RESTSearchServer.java:60)

Users with the same issue

Once, 6 months ago
11 times, 8 months ago

Write tip

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