-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.grpc.Context: Storage override doesn't exist. Using default in Language and Speech #771
Comments
Make sure you carefully follow the instructions in README. What happens when you run the unit tests using |
Notice: this issue has been closed because it has been inactive for 586 days. You may reopen this issue if it has been closed in error. |
9 tasks
Sita04
added a commit
that referenced
this issue
Nov 11, 2022
* docs(samples): added sample account defender assessment RPC. * docs(samples): fixed typo * docs(samples): added copyright. * docs(samples): added samples for account defender operations * docs(samples): added comments * docs(samples): lint and comment fix * docs(samples): updated ato samples and added tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs(samples): update acc to review comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * modified var name to match docs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Emily Ball <[email protected]>
Sita04
added a commit
that referenced
this issue
Nov 15, 2022
* docs(samples): added sample account defender assessment RPC. * docs(samples): fixed typo * docs(samples): added copyright. * docs(samples): added samples for account defender operations * docs(samples): added comments * docs(samples): lint and comment fix * docs(samples): updated ato samples and added tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs(samples): update acc to review comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * modified var name to match docs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Emily Ball <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In which file did you encounter the issue? https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/language/cloud-client/src/main/java/com/example/language/QuickstartSample.java
Did you change the file? If so, how? No
Describe the issue
io.grpc.Context: Storage override doesn't exist. Using default.
java.lang.ClassNotFoundException: io.grpc.override.ContextStorageOverride
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at io.grpc.Context.(Context.java:132)
at io.grpc.internal.ClientCallImpl.(ClientCallImpl.java:108)
at io.grpc.internal.ManagedChannelImpl$RealChannel.newCall(ManagedChannelImpl.java:554)
at com.google.api.gax.grpc.HeaderInterceptor.interceptCall(HeaderInterceptor.java:57)
at io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:119)
at io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:533)
at com.google.api.gax.grpc.DescriptorClientCallFactory.newCall(DescriptorClientCallFactory.java:54)
at com.google.api.gax.grpc.DirectCallable.futureCall(DirectCallable.java:58)
at com.google.api.gax.grpc.ExceptionTransformingCallable.futureCall(ExceptionTransformingCallable.java:61)
at com.google.api.gax.grpc.AttemptCallable.call(AttemptCallable.java:76)
at com.google.api.gax.grpc.RetryingCallable.futureCall(RetryingCallable.java:59)
at com.google.api.gax.grpc.RetryingCallable.futureCall(RetryingCallable.java:42)
at com.google.api.gax.grpc.AuthCallable.futureCall(AuthCallable.java:57)
at com.google.api.gax.grpc.UnaryCallable.futureCall(UnaryCallable.java:282)
at com.google.api.gax.grpc.UnaryCallable.futureCall(UnaryCallable.java:293)
at com.google.api.gax.grpc.UnaryCallable.call(UnaryCallable.java:321)
at com.google.cloud.language.v1.LanguageServiceClient.analyzeSentiment(LanguageServiceClient.java:209)
at com.google.cloud.language.v1.LanguageServiceClient.analyzeSentiment(LanguageServiceClient.java:186)
at com.example.language.QuickstartSample.main(QuickstartSample.java:41)
Exception in thread "main" com.google.api.gax.grpc.ApiException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED
at com.google.api.gax.grpc.ExceptionTransformingCallable$ExceptionTransformingFuture.onFailure(ExceptionTransformingCallable.java:108)
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:53)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1123)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)
at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:811)
at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:675)
at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:466)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:442)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426)
at io.grpc.internal.ClientCallImpl.access$100(ClientCallImpl.java:76)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:512)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$700(ClientCallImpl.java:429)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:544)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED
at io.grpc.Status.asRuntimeException(Status.java:543)
... 15 more
Dependency Tree ->
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ language-google-cloud-samples ---
[INFO] com.example.language:language-google-cloud-samples:jar:1.0
[INFO] +- com.google.cloud:google-cloud-language:jar:0.20.3-beta:compile
[INFO] | +- io.netty:netty-tcnative-boringssl-static:jar:2.0.3.Final:compile
[INFO] | +- com.google.cloud:google-cloud-core:jar:1.2.3:compile
[INFO] | | +- joda-time:joda-time:jar:2.9.2:compile
[INFO] | | +- org.json:json:jar:20160810:compile
[INFO] | | +- com.google.api:api-common:jar:1.1.0:compile
[INFO] | | +- com.google.api:gax:jar:1.4.2:compile
[INFO] | | | +- com.google.auto.value:auto-value:jar:1.2:compile
[INFO] | | | - org.threeten:threetenbp:jar:1.3.3:compile
[INFO] | | +- com.google.protobuf:protobuf-java-util:jar:3.3.0:compile
[INFO] | | | - com.google.code.gson:gson:jar:2.7:compile
[INFO] | | +- com.google.api.grpc:proto-google-common-protos:jar:0.1.13:compile
[INFO] | | - com.google.api.grpc:proto-google-iam-v1:jar:0.1.13:compile
[INFO] | +- com.google.cloud:google-cloud-core-grpc:jar:1.2.3:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.3.0:compile
[INFO] | | +- io.grpc:grpc-protobuf:jar:1.4.0:compile
[INFO] | | | - io.grpc:grpc-protobuf-lite:jar:1.4.0:compile
[INFO] | | +- io.grpc:grpc-context:jar:1.4.0:compile
[INFO] | | - com.google.api:gax-grpc:jar:0.21.2:compile
[INFO] | +- com.google.api.grpc:proto-google-cloud-language-v1:jar:0.1.13:compile
[INFO] | +- com.google.api.grpc:proto-google-cloud-language-v1beta2:jar:0.1.13:compile
[INFO] | +- io.grpc:grpc-netty:jar:1.4.0:compile
[INFO] | | +- io.grpc:grpc-core:jar:1.4.0:compile (version selected from constraint [1.4.0,1.4.0])
[INFO] | | | - com.google.instrumentation:instrumentation-api:jar:0.4.2:compile
[INFO] | | +- io.netty:netty-codec-http2:jar:4.1.11.Final:compile (version selected from constraint [4.1.11.Final,4.1.11.Final])
[INFO] | | | +- io.netty:netty-codec-http:jar:4.1.11.Final:compile
[INFO] | | | | - io.netty:netty-codec:jar:4.1.11.Final:compile
[INFO] | | | - io.netty:netty-handler:jar:4.1.11.Final:compile
[INFO] | | | - io.netty:netty-buffer:jar:4.1.11.Final:compile
[INFO] | | | - io.netty:netty-common:jar:4.1.11.Final:compile
[INFO] | | - io.netty:netty-handler-proxy:jar:4.1.11.Final:compile
[INFO] | | +- io.netty:netty-transport:jar:4.1.11.Final:compile
[INFO] | | | - io.netty:netty-resolver:jar:4.1.11.Final:compile
[INFO] | | - io.netty:netty-codec-socks:jar:4.1.11.Final:compile
[INFO] | +- io.grpc:grpc-stub:jar:1.4.0:compile
[INFO] | - io.grpc:grpc-auth:jar:1.4.0:compile
[INFO] +- com.google.guava:guava:jar:20.0:compile
[INFO] +- com.google.auth:google-auth-library-oauth2-http:jar:0.7.1:compile
[INFO] | +- com.google.auth:google-auth-library-credentials:jar:0.7.1:compile
[INFO] | +- com.google.http-client:google-http-client:jar:1.19.0:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] | | - org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[INFO] | | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | | - commons-codec:commons-codec:jar:1.3:compile
[INFO] | - com.google.http-client:google-http-client-jackson2:jar:1.19.0:compile
[INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.1.3:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] - com.google.truth:truth:jar:0.34:test
[INFO] - com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
The text was updated successfully, but these errors were encountered: