This is the error we are getting in our code , although we have defined 
timeout of 120 minutes for our program. 
 Exception in thread "main" java.util.concurrent.CancellationException: 
Task was cancelled.    at 
com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1543)
 
   at 
com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:586)
 
   at 
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:463) 
   at 
com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:99)
 
   at 
com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:73)
 
   at 
com.google.api.gax.longrunning.OperationFutureImpl.get(OperationFutureImpl.java:131)
 
   at org.example.Importbuild.main(Importbuild.java:86) 

 i am getting task was cancelled error in intellij terminal after around 5 
minutes , but the build still continues in GCP.  

https://cloud.google.com/compute/docs/import/import-ovf-files#no-external-ip 

 this is what i am trying to achieve through intellij ide maven project 
using java 11. the code is working fine besides this unexpected error.

i am using this library:::::: 
https://cloud.google.com/java/docs/reference/google-cloud-build/latest/history 
 and these two packages::::: 1) 
https://cloud.google.com/java/docs/reference/google-cloud-build/latest/com.google.cloud.devtools.cloudbuild.v1
 
 2) 
https://cloud.google.com/java/docs/reference/google-cloud-build/latest/com.google.cloudbuild.v1
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/90f75ce9-0bc2-4e38-8126-cbc8bf2c15d5n%40googlegroups.com.

Reply via email to