Description
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
Activity