Infeasible
Status Update
Comments
gs...@google.com <gs...@google.com> #2
br...@gmail.com <br...@gmail.com> #3
Hi, this error only affects Cloud SDK version 186. It was previously reported in Issue 72407295 and a fix for it should be released in Cloud SDK version 187.
In the mean time, you can downgrade to Cloud SDK version 185 as a workaround by running the following command:
gcloud components update --version 185.0.0
In the mean time, you can downgrade to Cloud SDK version 185 as a workaround by running the following command:
gcloud components update --version 185.0.0
gs...@google.com <gs...@google.com> #4
We need some extra time to take into consideration the wealth of information provided. Meanwhile, your patience is appreciated. I'll come back to you latest by the end of next Monday.
gs...@google.com <gs...@google.com> #5
Due to work load issues, the above deadline needs to be extended to Thursday afternoon. Your understanding is highly appreciated.
gs...@google.com <gs...@google.com> #6
The problematic version is 1.62.0, as shown in your maven setup. Have you tried the latest version 1.64.0? Does it make a difference?
cm...@google.com <cm...@google.com> #7
We haven't heard from you in several days so we trust this issue is no longer a problem for you.
I am closing this but in case you still experience difficulties or you have additional concerns, please create a new issue.
I am closing this but in case you still experience difficulties or you have additional concerns, please create a new issue.
Description
BatchAnnotateImagesResponse response = vision.batchAnnotateImages(requests);
Problem you have encountered:
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.AbstractMethodError: com.google.api.gax.grpc.GrpcCallContext.getTracer()Lcom/google/api/gax/tracing/ApiTracer;
at brave.servlet.TracingFilter.doFilter(TracingFilter.java:86) [brave-instrumentation-servlet-5.6.1.jar!/:na] [31 skipped]
[28 skipped]
Caused by: java.lang.AbstractMethodError: com.google.api.gax.grpc.GrpcCallContext.getTracer()Lcom/google/api/gax/tracing/ApiTracer;
at com.google.api.gax.retrying.BasicRetryingFuture.handleAttempt(BasicRetryingFuture.java:141) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.handle(CallbackChainRetryingFuture.java:135) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.retrying.CallbackChainRetryingFuture$AttemptCompletionListener.run(CallbackChainRetryingFuture.java:117) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) ~[guava-27.0.1-jre.jar!/:na]
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1138) ~[guava-27.0.1-jre.jar!/:na]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:707) ~[guava-27.0.1-jre.jar!/:na]
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:112) ~[guava-27.0.1-jre.jar!/:na]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:45) ~[guava-27.0.1-jre.jar!/:na]
at com.google.api.gax.retrying.CallbackChainRetryingFuture.setAttemptFuture(CallbackChainRetryingFuture.java:93) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.AttemptCallable.call(AttemptCallable.java:89) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.RetryingCallable.futureCall(RetryingCallable.java:63) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.RetryingCallable.futureCall(RetryingCallable.java:41) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.UnaryCallable$1.futureCall(UnaryCallable.java:126) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.UnaryCallable.futureCall(UnaryCallable.java:87) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112) ~[gax-1.38.0.jar!/:1.38.0]
at com.google.cloud.vision.v1.ImageAnnotatorClient.batchAnnotateImages(ImageAnnotatorClient.java:210) ~[google-cloud-vision-1.62.0.jar!/:1.62.0]
at com.google.cloud.vision.v1.ImageAnnotatorClient.batchAnnotateImages(ImageAnnotatorClient.java:187) ~[google-cloud-vision-1.62.0.jar!/:1.62.0]
What you expected to happen:
We expect a successful API response.
Steps to reproduce:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vision</artifactId>
<version>1.62.0</version>
</dependency>
Other information (workarounds you have tried, documentation consulted, etc):
Reverting to 1.59.0 is successful:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vision</artifactId>
<version>1.59.0</version>
</dependency>