You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
At start of stock quarkus without any extensions I get the following message:
2019-11-21 07:25:46,065 WARN [io.net.res.HostsFileParser] (main) Failed to load and parse hosts file at /etc/hosts: java.io.FileNotFoundException: /etc/hosts (Permission denied)
The application is still working
Expected behavior
No superfluous error message.
Actual behavior
WARN [io.net.res.HostsFileParser] (main) Failed to load and parse hosts file at /etc/hosts: java.io.FileNotFoundException: /etc/hosts (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at io.netty.resolver.HostsFileParser.parse(HostsFileParser.java:132)
at io.netty.resolver.HostsFileParser.parseSilently(HostsFileParser.java:89)
at io.netty.resolver.HostsFileParser.parseSilently(HostsFileParser.java:76)
at io.vertx.core.impl.resolver.DnsResolverProvider.(DnsResolverProvider.java:123)
at io.vertx.core.spi.resolver.ResolverProvider.factory(ResolverProvider.java:39)
at io.vertx.core.impl.AddressResolver.(AddressResolver.java:75)
at io.vertx.core.impl.VertxImpl.(VertxImpl.java:167)
at io.vertx.core.impl.VertxImpl.vertx(VertxImpl.java:92)
at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:40)
at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:32)
at io.vertx.core.Vertx.vertx(Vertx.java:85)
To Reproduce
Steps to reproduce the behavior:
mvn io.quarkus:quarkus-maven-plugin:1.0.0.CR2:create (the same behaviour on CR1)
mvn compile quarkus:dev
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of uname -a or ver: Darwin 19.0.0 Darwin Kernel Version 19.0.0, Mac OS Catalina
Output of java -version:
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
GraalVM version (if different from Java):
Quarkus version or git rev: CR2
Additional context
sudo chmod a+r /etc/hostsfixes the problem
The text was updated successfully, but these errors were encountered:
Describe the bug
At start of stock quarkus without any extensions I get the following message:
2019-11-21 07:25:46,065 WARN [io.net.res.HostsFileParser] (main) Failed to load and parse hosts file at /etc/hosts: java.io.FileNotFoundException: /etc/hosts (Permission denied)
The application is still working
Expected behavior
No superfluous error message.
Actual behavior
WARN [io.net.res.HostsFileParser] (main) Failed to load and parse hosts file at /etc/hosts: java.io.FileNotFoundException: /etc/hosts (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at io.netty.resolver.HostsFileParser.parse(HostsFileParser.java:132)
at io.netty.resolver.HostsFileParser.parseSilently(HostsFileParser.java:89)
at io.netty.resolver.HostsFileParser.parseSilently(HostsFileParser.java:76)
at io.vertx.core.impl.resolver.DnsResolverProvider.(DnsResolverProvider.java:123)
at io.vertx.core.spi.resolver.ResolverProvider.factory(ResolverProvider.java:39)
at io.vertx.core.impl.AddressResolver.(AddressResolver.java:75)
at io.vertx.core.impl.VertxImpl.(VertxImpl.java:167)
at io.vertx.core.impl.VertxImpl.vertx(VertxImpl.java:92)
at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:40)
at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:32)
at io.vertx.core.Vertx.vertx(Vertx.java:85)
To Reproduce
Steps to reproduce the behavior:
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
: Darwin 19.0.0 Darwin Kernel Version 19.0.0, Mac OS CatalinaOutput of
java -version
:java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
GraalVM version (if different from Java):
Quarkus version or git rev: CR2
Additional context
sudo chmod a+r /etc/hosts
fixes the problemThe text was updated successfully, but these errors were encountered: