Nullpointer Exception on mutate in AdGroupCriterionServiceInterface

13 views
Skip to first unread message

Georg Unterberger

unread,
Jul 11, 2019, 4:58:20 AM7/11/19
to AdWords API and Google Ads API Forum
Hey there,

we are sporadically facing a NullPointerException when calling the AdGroupCriterionServiceInterface#mutate.

Here the interesting part of the stacktrace:

Caused by: java.lang.NullPointerException
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:324)
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
    at org.apache.axis.Message.writeTo(Message.java:539)
    at com.google.api.ads.common.lib.soap.ResponseInfoXPathSet.parseMessage(ResponseInfoXPathSet.java:76)
    at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:249)
    at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63)
    at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
    at com.sun.proxy.$Proxy371.mutate(Unknown Source)
    at com.google.api.ads.adwords.axis.v201809.cm.AdGroupCriterionServiceInterface$mutate.call(Unknown Source)

It seems like that the response of the soap transmission causes the nullpointer

We already tried to turn on the api logs but the response is not in there, cause it seems like that the response is writter after the message is parsed, which seems to be the problem.
The last time we faced that was on Thursday, 11. July 2019 08:45:37 (GMT)

Does anyone have an idea whats exactly the problem and how this could be solved?

Greetings,
Georg Unterberger

Google Ads API Forum Advisor Prod

unread,
Jul 12, 2019, 2:20:06 AM7/12/19
to adwor...@googlegroups.com

Hi Georg,

Could you confirm if you have indeed completed configuring your Java client library (You may refer to Getting started section in this guide)? If you have indeed completed the configuration and continue to encounter the issue, then I would recommend that you reach out to the Java library owners via this link as the issue appears to be more related to the client library itself.

Regards,
Hiroyuki
Google Ads API Team



ref:_00D1U1174p._5001U8KkI4:ref

Georg Unterberger

unread,
Jul 15, 2019, 3:01:26 AM7/15/19
to AdWords API and Google Ads API Forum
Hey Hiroyuki,

Thanks for the reply! Yes, we configured as the gettind started section says and thanks for the gitlab link, i will post the issue there =)

Regards,
Georg Unterberger
Reply all
Reply to author
Forward
0 new messages