vert-x3 / vertx-examples

Vert.x examples
Apache License 2.0
3.55k stars 2.09k forks source link

There are five warnings #381

Closed qurbanliwayidin closed 4 years ago

qurbanliwayidin commented 4 years ago

Hello. I configured my vert.x application as shown in your pom.xml,but i received the same warning for five times. The warning is: warning: Thread Thread[vert.x-eventloop-thread-0,5,com.liwayidin.phc.MainVerticle]=Thread[vert.x-eventloop-thread-0,5,com.liwayidin.phc.MainVerticle] has been blocked for 7771 ms, time limit is 2000 ms io.vertx.core.VertxException: Thread blocked at java.net.NetworkInterface.getAll(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:343) at io.netty.util.internal.MacAddressUtil.bestAvailableMac(MacAddressUtil.java:55) at io.netty.util.internal.MacAddressUtil.defaultMachineId(MacAddressUtil.java:138) at io.netty.channel.DefaultChannelId.(DefaultChannelId.java:99) at io.netty.channel.AbstractChannel.newId(AbstractChannel.java:101) at io.netty.channel.AbstractChannel.(AbstractChannel.java:73) at io.netty.channel.nio.AbstractNioChannel.(AbstractNioChannel.java:80) at io.netty.channel.nio.AbstractNioMessageChannel.(AbstractNioMessageChannel.java:42) at io.netty.channel.socket.nio.NioDatagramChannel.(NioDatagramChannel.java:150) at io.netty.channel.socket.nio.NioDatagramChannel.(NioDatagramChannel.java:118) at io.vertx.core.net.impl.transport.Transport.datagramChannel(Transport.java:162) at io.vertx.core.impl.resolver.DnsResolverProvider$1.lambda$newResolver$0(DnsResolverProvider.java:136) at io.vertx.core.impl.resolver.DnsResolverProvider$1$$Lambda$21/1906804622.newChannel(Unknown Source) at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:310) at io.netty.bootstrap.AbstractBootstrap.register(AbstractBootstrap.java:227) at io.netty.resolver.dns.DnsNameResolver.(DnsNameResolver.java:451) at io.netty.resolver.dns.DnsNameResolverBuilder.build(DnsNameResolverBuilder.java:473) at io.vertx.core.impl.resolver.DnsResolverProvider$1$1.newNameResolver(DnsResolverProvider.java:186) at io.netty.resolver.dns.DnsAddressResolverGroup.newResolver(DnsAddressResolverGroup.java:91) at io.netty.resolver.dns.DnsAddressResolverGroup.newResolver(DnsAddressResolverGroup.java:76) at io.netty.resolver.AddressResolverGroup.getResolver(AddressResolverGroup.java:70) at io.vertx.core.impl.resolver.DnsResolverProvider$1.newResolver(DnsResolverProvider.java:190) at io.netty.resolver.AddressResolverGroup.getResolver(AddressResolverGroup.java:70) at io.vertx.core.impl.AddressResolver.resolveHostname(AddressResolver.java:82) at io.vertx.core.impl.VertxImpl.resolveAddress(VertxImpl.java:810) at io.vertx.core.net.impl.AsyncResolveConnectHelper.doBind(AsyncResolveConnectHelper.java:56) at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:253) at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:188) at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:184) at com.liwayidin.phc.MainVerticle.start(MainVerticle.java:25) at io.vertx.core.Verticle.start(Verticle.java:66) at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$9(DeploymentManager.java:556) at io.vertx.core.impl.DeploymentManager$$Lambda$9/655919422.handle(Unknown Source) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.vertx.core.impl.EventLoopContext$$Lambda$10/2143594448.run(Unknown Source) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748)

Why this is happening?How can I fix this? Thank you.