Monday, 21 December 2015

Re: batch job service giving operand and error message both as null

Hi Josh,

I planned to migrate from BatchJobService to BulkMutateService (a month back). It worked on my local machine, but it got broke down in production environment, I then have to revert back the changes and came back again to BatchJobService. I was able to do that since BatchJobService wasn't deprecated yet. But 6 months down the line, I won't be able to do that.

So, can you please ask developer community to look into this?

Thanks,
Kainesh



On Tuesday, December 22, 2015 at 2:16:04 AM UTC+5:30, Kainesh Patel wrotet.
Yes. I didn't got NoClassDefFoundError and xml parser didn't worked correctly. By any chance, it can be fixed by importing libraries and if yes, can you can include it in your jar?

Thanks,
Kainesh

On Tuesday, December 22, 2015 at 2:02:45 AM UTC+5:30, Josh Radcliff (AdWords API Team) wrote:
Hi Kainesh,

Those utilities should be present in any JRE. I think the issue you had was that the particular JRE you were using had a bug that meant that the XML wasn't being parsed properly. If it had been an issue with a missing dependency, I think you would have seen a NoClassDefFoundError instead.

Thanks,
Josh, AdWords API Team

On Monday, December 21, 2015 at 10:06:21 AM UTC-5, Kainesh Patel wrote:
Hi Josh,

As you have mentioned, BatchJobHelper depends on XML utilities which may or may not be present in JRE. Can you file a ticket/bug or discuss with dev team to include this libraries in google adwords api jar?

Thanks,
Kainesh

On Thursday, November 19, 2015 at 12:39:01 AM UTC+5:30, Josh Radcliff (AdWords API Team) wrote:
Hi Kainesh,

I'm not an expert on the differences between those JREs, but I can tell you that the BatchJobHelper relies heavily on the XML utilities included in the JRE. It's possible that the older 1.6 JRE you were using had issues in that space, which would explain why upgrading fixed the problem for you.

Cheers,
Josh, AdWords API Team

On Wednesday, November 18, 2015 at 8:10:56 AM UTC-5, Kainesh Patel wrote:
Hi Josh,

As a temporary workaround, we have changed our java version from 

java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)

to

java version "1.6.0_36"
OpenJDK Runtime Environment (IcedTea6 1.13.8) (6b36-1.13.8-0ubuntu1~12.04)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

Since both of the versions have same major release and both are 64 bits, it looks strange why it is working with one java version and doesn't in another?

Can you share few differences between OpenJDK and HotStar java.

What does google prefer?

Thanks,
Kainesh

On Tuesday, November 17, 2015 at 10:43:30 PM UTC+5:30, Kainesh Patel wrote:
Hi Josh,

Any update you would like to share with me?

Thanks,
Kainesh

On Tuesday, November 17, 2015 at 7:17:48 PM UTC+5:30, Kainesh Patel wrote:
Hi Josh,

I have send you mail at adwordsa...@google.com.
Please check it.

Thanks,
Kainesh

On Tuesday, November 17, 2015 at 6:15:27 PM UTC+5:30, Kainesh Patel wrote:
Hi,

I have a send you a mail. Please check it.

Thanks,
Kainesh

On Monday, November 16, 2015 at 11:05:10 PM UTC+5:30, Josh Radcliff (AdWords API Team) wrote:
Hi Kainesh,

Could you share the code you're using that leads to this result? You can send it only to me (if you'd prefer) by clicking Reply privately to author on this post.

Thanks,
Josh, AdWords API Team

On Monday, November 16, 2015 at 11:45:03 AM UTC-5, Kainesh Patel wrote:
Hi Josh,

Even I am trying  the same. But its pointing to null and even I tried mutateResult.getErrorList(), even that is null.

Thanks,
Kainesh

On Friday, November 13, 2015 at 7:19:49 PM UTC+5:30, Kainesh Patel wrote:
I am trying to update keyword. However, after batch job status is done, when I try to check the status of operand or error, noth are returning null.


Please let me know which all information is required.

Thanks,
Kainesh

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
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/38f3c7e4-ee42-46f9-a139-bc7ab4cf4edf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment