io.vertx.core.VertxException: Thread blocked

Google Groups | Arnaud Estève | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Still seeing Thread blocked on DNS lookup (Vert.x 3.3.2)

    Google Groups | 6 months ago | Arnaud Estève
    io.vertx.core.VertxException: Thread blocked

    Root Cause Analysis

    1. io.vertx.core.VertxException

      Thread blocked

      at java.net.Inet6AddressImpl.lookupAllHostAddr()
    2. Java RT
      Method.invoke
      1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      2. java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
      3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
      4. java.net.InetAddress.getLocalHost(InetAddress.java:1500)
      5. sun.management.VMManagementImpl.getVmId(VMManagementImpl.java:140)
      6. sun.management.RuntimeImpl.getName(RuntimeImpl.java:59)
      7. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      8. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      9. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      10. java.lang.reflect.Method.invoke(Method.java:498)
      10 frames
    3. Netty
      NioDatagramChannel.<init>
      1. io.netty.channel.DefaultChannelId.defaultProcessId(DefaultChannelId.java:149)
      2. io.netty.channel.DefaultChannelId.<clinit>(DefaultChannelId.java:84)
      3. io.netty.channel.AbstractChannel.newId(AbstractChannel.java:105)
      4. io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:77)
      5. io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:87)
      6. io.netty.channel.nio.AbstractNioMessageChannel.<init>(AbstractNioMessageChannel.java:42)
      7. io.netty.channel.socket.nio.NioDatagramChannel.<init>(NioDatagramChannel.java:146)
      8. io.netty.channel.socket.nio.NioDatagramChannel.<init>(NioDatagramChannel.java:114)
      8 frames
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    5. Netty
      AbstractBootstrap.register
      1. io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:38)
      2. io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:318)
      3. io.netty.bootstrap.AbstractBootstrap.register(AbstractBootstrap.java:234)
      3 frames
    6. io.vertx.core
      DnsNameResolverBuilder.build
      1. io.vertx.core.dns.impl.fix.DnsNameResolver.<init>(DnsNameResolver.java:188)
      2. io.vertx.core.dns.impl.fix.DnsNameResolverBuilder.build(DnsNameResolverBuilder.java:364)
      2 frames
    7. Vert.x Core
      AddressResolver$1.newResolver
      1. io.vertx.core.impl.AddressResolver$1.newResolver(AddressResolver.java:143)
      1 frame
    8. io.netty.resolver
      AddressResolverGroup.getResolver
      1. io.netty.resolver.AddressResolverGroup.getResolver(AddressResolverGroup.java:67)
      1 frame
    9. Vert.x Core
      HttpServerImpl.listen
      1. io.vertx.core.impl.AddressResolver.resolveHostname(AddressResolver.java:162)
      2. io.vertx.core.impl.VertxImpl.resolveAddress(VertxImpl.java:683)
      3. io.vertx.core.net.impl.AsyncResolveConnectHelper.doBind(AsyncResolveConnectHelper.java:74)
      4. io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:256)
      5. io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:191)
      5 frames
    10. com.decathlon.stores
      RESTSearchServer.start
      1. com.decathlon.stores.indexing.api.RESTSearchServer.start(RESTSearchServer.java:60)
      1 frame
    11. Vert.x Core
      DeploymentManager.lambda$doDeploy$8
      1. io.vertx.core.impl.DeploymentManager.lambda$doDeploy$8(DeploymentManager.java:434)
      1 frame