Hello,

The downloadUrl is expected to be null while the batch job is still 
processing, or is canceled. It looks like you may have code on your end 
that assumes that field will exist even when there are cases that it 
shouldn't.

Can you provide the actual SOAP response from the API so we can take a look 
at the current status of the batch job at the time?

Regards,
Mike, AdWords API Team

On Thursday, February 25, 2016 at 11:33:50 AM UTC-5, Biniam Asnake wrote:
>
> Hello,
>
> I am getting this error a lot of times when I retrieve the status of a 
> batch job.
>
> Because of the number of errors I am getting and have to deal with, I am 
> finally thinking the BatchJobService is not as stable as the old 
> MutateJobService.
>
> Please help.
>
> java.lang.RuntimeException: Error retrieving the batch job result, Batch 
> Job Download Url was null. at sun.reflect.NativeConstructorAccessorImpl.
> newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.
> newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.
> DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.
> Constructor.newInstance(Constructor.java:408) at org.codehaus.groovy.
> reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.
> codehaus.groovy.runtime.callsite.
> ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(
> ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.
> CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.
> codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(
> AbstractCallSite.java:232) at org.codehaus.groovy.runtime.callsite.
> AbstractCallSite.callConstructor(AbstractCallSite.java:244) at com.bonial.
> megan.helpers.BatchProcessingServiceHelper.retrieveMutateResults(
> BatchProcessingServiceHelper.groovy:278) at com.bonial.megan.helpers.
> BatchProcessingServiceHelper$retrieveMutateResults$39.callStatic(Unknown 
> Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.
> defaultCallStatic(CallSiteArray.java:53) at org.codehaus.groovy.runtime.
> callsite.AbstractCallSite.callStatic(AbstractCallSite.java:191) at org.
> codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(
> AbstractCallSite.java:203) at com.bonial.megan.services.
> BatchProcessingService.handleCanceledBatchJob(BatchProcessingService.
> groovy:234) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(
> Method.java:483) at org.codehaus.groovy.runtime.callsite.
> PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(
> PogoMetaMethodSite.java:207) at org.codehaus.groovy.runtime.callsite.
> PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56) at org.codehaus
> .groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.
> java:49) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.
> callCurrent(AbstractCallSite.java:151) at org.codehaus.groovy.runtime.
> callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171) at com.
> bonial.megan.services.BatchProcessingService.
> handleBatchJobCompletionStatus(BatchProcessingService.groovy:94) at com.
> bonial.megan.services.
> BatchProcessingService$handleBatchJobCompletionStatus$17.call(Unknown 
> Source) at com.bonial.megan.execution.actors.stateChange.mutate.
> StateChangeStatusCheckerActor.onReceiveBody(StateChangeStatusCheckerActor.
> groovy:30) at com.bonial.megan.execution.actors.stateChange.mutate.
> StateChangeStatusCheckerActor$onReceiveBody.callCurrent(Unknown Source) 
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(
> CallSiteArray.java:49) at com.bonial.megan.execution.actors.stateChange.
> mutate.StateChangeStatusCheckerSupervisor$onReceiveBody.callCurrent(
> Unknown Source) at com.bonial.megan.execution.actors.AbstractActor.
> onReceive(AbstractActor.groovy:41) at akka.actor.
> UntypedActor$$anonfun$receive$1.applyOrElse(
> ...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/72791244-7908-4be0-a104-c0dd25e7eb0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Batch Job Downl... Biniam Asnake
    • Re: Batch ... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
      • Re: Ba... Biniam Asnake
        • Re... Biniam Asnake
          • ... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
    • Re: Batch ... Biniam Asnake

Reply via email to