Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

FATAL EXCEPTION: java.lang.AssertionError getResourceResolver after gradle and kotlin version updated in Android project #66

Open
Moozart opened this issue Nov 23, 2022 · 0 comments

Comments

@Moozart
Copy link

Moozart commented Nov 23, 2022

Hello,
I have an exception that u can see log at the below.

I upgraded my project's gradle and kotlin version. After that I encountered with this exception after called
"HomeGraphApiServiceGrpc.HomeGraphApiServiceFutureStub" reportStateAndNotification(...) called.

gradlew updated from 6.3-all.zip to 7.4-bin.zip
kotlin version 1.5.10 to 1.7.20

gradle import:

    implementation ("com.google.actions:actions-on-google:1.8.0") {
        exclude group: 'io.grpc', module: 'grpc-netty-shaded'
    }

    def grpcVersion = '1.15.1'
    implementation "io.grpc:grpc-okhttp:${grpcVersion}"

    api 'com.google.guava:guava:30.1.1-android'

FATAL EXCEPTION: grpc-default-executor-0 Process: com.x.x, PID: 21525 java.lang.AssertionError at io.grpc.internal.DnsNameResolver.getResourceResolver(DnsNameResolver.java:577) at io.grpc.internal.DnsNameResolver.access$800(DnsNameResolver.java:61) at io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:233) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764)

Thanks for help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant