Hi, OK, it's tough for me to diagnose this problem without more information. Could you perhaps send over your build.xml file so I can see exactly how you are setting up your project?
Thanks, Josh, AdWords API Team On Monday, April 20, 2015 at 1:06:59 PM UTC-4, Amber wrote: > > using ant, tried adding manually also but did not help. > I'm seeing no exceptions before this. > > On Monday, April 20, 2015 at 10:21:53 PM UTC+5:30, Josh Radcliff (AdWords > API Team) wrote: >> >> Hi, >> >> Are you using maven, adding jars to your classpath manually, or using >> some other approach? >> >> Also, do you see any other exceptions logged before you encounter this >> issue? >> >> Thanks, >> Josh, AdWords API Team >> >> On Monday, April 20, 2015 at 10:41:33 AM UTC-4, [email protected] >> wrote: >>> >>> yes it is a part of my classpath >>> >>> On Friday, April 17, 2015 at 8:51:15 PM UTC+5:30, Josh Radcliff (AdWords >>> API Team) wrote: >>>> >>>> Hi, >>>> >>>> Do you have the adwords-api.properties >>>> <https://github.com/googleads/googleads-java-lib/blob/master/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/conf/props/adwords-api.properties> >>>> file >>>> in your classpath? That file is required by the client library at runtime. >>>> >>>> Thanks, >>>> Josh, AdWords API Team >>>> >>>> On Friday, April 17, 2015 at 7:55:40 AM UTC-4, [email protected] >>>> wrote: >>>>> >>>>> Hi I am getting the same error but during migration to v201502. >>>>> Could you please help. >>>>> I am not using adwords-api-properties file >>>>> >>>>> trace: >>>>> java.lang.NullPointerException: No group found for service: >>>>> v201502.CampaignServicejava.lang.NullPointerException: No group found for >>>>> service: v201502.CampaignService >>>>> >>>>> at >>>>> com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:64) >>>>> at >>>>> com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:82) >>>>> at >>>>> com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:74) >>>>> at >>>>> com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:75) >>>>> at >>>>> com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79) >>>>> at >>>>> com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60) >>>>> >>>>> On Wednesday, November 20, 2013 at 4:03:59 AM UTC+5:30, Josh Radcliff >>>>> (AdWords API Team) wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I've seen this before when the classpath is incorrect or incomplete. >>>>>> Could you check the following? >>>>>> >>>>>> 1. You have updated your adwords-api.properties with the latest >>>>>> version >>>>>> >>>>>> <https://code.google.com/p/google-api-ads-java/source/browse/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/conf/props/adwords-api.properties> >>>>>> 2. The classpath is the same for both your local and server >>>>>> processes >>>>>> >>>>>> If that does not highlight the issue, please send on your classpath >>>>>> information from both processes so I can investigate further. >>>>>> >>>>>> Thanks, >>>>>> Josh, AdWords API Team >>>>>> >>>>>> On Monday, November 18, 2013 5:20:06 AM UTC-5, F.Per wrote: >>>>>>> >>>>>>> Funny thing is that i dont get this error starting my application >>>>>>> locally and not on the server?! >>>>>>> >>>>>>> On Sunday, November 17, 2013 2:43:31 PM UTC+1, Shaihulud wrote: >>>>>>>> >>>>>>>> Hi >>>>>>>> >>>>>>>> i am getting the following error for a code the worked for month. >>>>>>>> >>>>>>>> java.lang.NullPointerException: No group found for service: >>>>>>>> v201306.MutateJobServicejava.lang.NullPointerException: No group found >>>>>>>> for >>>>>>>> service: v201306.MutateJobService >>>>>>>> at >>>>>>>> com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getServiceUrlGroup(AdWordsApiConfiguration.java:63) >>>>>>>> at >>>>>>>> com.google.api.ads.adwords.lib.client.AdWordsServiceDescriptor.getEndpointAddress(AdWordsServiceDescriptor.java:77) >>>>>>>> at >>>>>>>> com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:74) >>>>>>>> at >>>>>>>> com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:73) >>>>>>>> at >>>>>>>> com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79) >>>>>>>> at >>>>>>>> com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60) >>>>>>>> >>>>>>>> >>>>>>>> The only thing ive changed is that i switched from v201302 to >>>>>>>> v201306, but i did not touch the code. >>>>>>>> >>>>>>>> the associated code is this : >>>>>>>> [code] >>>>>>>> clientLoginToken = new ClientLoginTokens.Builder() >>>>>>>> .forApi(ClientLoginTokens.Api.ADWORDS) >>>>>>>> .withEmailAndPassword(adwordsLogin, password) >>>>>>>> .build() >>>>>>>> .requestToken(); >>>>>>>> >>>>>>>> // Construct an AdWordsSession. >>>>>>>> AdWordsSession session = new AdWordsSession.Builder() >>>>>>>> .withClientLoginToken(clientLoginToken) >>>>>>>> .withDeveloperToken(developerToken) >>>>>>>> .withClientCustomerId(customerAccount.getClientId()) >>>>>>>> .withEndpoint(AdWordsSession.DEFAULT_ENDPOINT).build(); >>>>>>>> >>>>>>>> // mutate job service >>>>>>>> mutateJobService = new AdWordsServices().get(session, >>>>>>>> MutateJobServiceInterface.class); >>>>>>>> >>>>>>>> // create list of operations >>>>>>>> adGroupCriterionOperations = new >>>>>>>> ArrayList<AdGroupCriterionOperation>(); >>>>>>>> [/code] >>>>>>>> >>>>>>>> ClientloginTokens is deprecated but should still work right? So >>>>>>>> what seems to be the problem here? >>>>>>>> I would appreciate the help. >>>>>>>> >>>>>>>> thx >>>>>>>> >>>>>>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4d1d13ae-23a8-44b3-9a78-eba8e34d4672%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
