java.lang.IllegalStateException: No NameResolverProviders found via ServiceLoader, including for DNS. This is probably due to a broken build. If using ProGuard, check your configuration

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

,

checkState() is Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met). This occurs when the precondition does not met.

,

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

Solutions on the web

via GitHub by emmenlau
, 1 year ago
No NameResolverProviders found via ServiceLoader, including for DNS. This is probably due to a broken build. If using ProGuard, check your configuration
via GitHub by madongfly
, 2 years ago
Listener is still attached to activeTransportFuture. Seems transportTerminated was not called.
via Stack Overflow by Nilesh
, 5 months ago
via GitHub by ChangshinLee-NBT
, 10 months ago
activeTransport still points to the delayedTransport. Seems transportShutdown() was not called.
via seleniumeasy.com by Unknown author, 1 year ago
The driver executable is a directory: C:\Program Files\Internet Explorer
java.lang.IllegalStateException: No NameResolverProviders found via ServiceLoader, including for DNS. This is probably due to a broken build. If using ProGuard, check your configuration
at io.grpc.NameResolverProvider$NameResolverFactory.checkForProviders(NameResolverProvider.java:200)
at io.grpc.NameResolverProvider$NameResolverFactory.getDefaultScheme(NameResolverProvider.java:195)
at io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:384)
at io.grpc.internal.ManagedChannelImpl.(ManagedChannelImpl.java:316)
at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:251)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 day ago
Once, 2 months ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
88 more bugmates

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