Hi

I am running the GetCampaigns class in the java examples and it runs 
successfully. However I copied it to my own project and ran it from there 
and I get the following exception. Any ideas?

 Exception in thread "main" java.lang.NullPointerException

at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(
AxisHandler.java:194)

at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(
SoapServiceClient.java:64)

at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(
SoapServiceClient.java:93)

at $Proxy14.get(Unknown Source)

at 
au.com.appliancesonline.adwords_portal.service.impl.GetCampaigns.runExample(
GetCampaigns.java:76)

at au.com.appliancesonline.adwords_portal.service.impl.GetCampaigns.main(
GetCampaigns.java:56)


Upon debugging, at AxisHandler.java:194, the following is null, 
messageContext.getResponseMessage()


My pom file has the same inclusions as the one in the examples

<dependency>

 <groupId>com.google.api-ads</groupId>

 <artifactId>ads-lib</artifactId>

 <version>1.2.14</version>

 </dependency>


 <dependency>

 <groupId>com.google.api-ads</groupId>

 <artifactId>adwords-axis</artifactId>

 <version>1.2.14</version>

 </dependency>


 <dependency>

 <groupId>com.google.http-client</groupId>

 <artifactId>google-http-client-jackson2</artifactId>

 <version>1.13.1-beta</version>

 </dependency>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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+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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to