Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3653

Seupdate for Bing account, whose adgroup is deleted, throws null pointer exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Mercury
    • Component/s: Data Summarization
    • Labels:
      None
    • Environment:

      Bidmgr #811

    • Sprint:
      Sprint 7

      Description

      Steps:

      1. Deploy bing account through soap

      2.Delete adgroups associated with this account in BingAds

      3.Run

      TSAApp@aml-qa4-core1 bidmgr]$ /seupdate.sh -d 3 --inactive --accountid 699 --accounts --seaccount 2411,2412 --groups --listings

      Actual Result: (Complete log attached)

      It throws null pointer exception.

      2015-08-20 12:28:20,632 [P3T2] INFO c.t.s.c.b.i.s.AdGroupServiceClient - Bing adGroups(s) not found in camapign 128084215
      2015-08-20 12:28:20,632 [P3T2] INFO c.t.s.c.bing.impl.request.Request - isRetryableGenericException: handling java.lang.NullPointerException (message=null)
      2015-08-20 12:28:20,637 [P3T2] WARN c.t.s.c.bing.impl.request.Request - Could not retry Exception with request
      java.lang.NullPointerException: null
      at com.thesearchagency.services.client.bing.impl.request.ResponseMapper.handle(ResponseMapper.java:49) ~[deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.serviceclient.AdGroupServiceClient$5.sendRequest(AdGroupServiceClient.java:457) ~[deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.request.Request.requestLoop(Request.java:52) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.request.Request.call(Request.java:36) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.serviceclient.ServiceClient.executeRequest(ServiceClient.java:40) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.serviceclient.AdGroupServiceClient.getAdGroups(AdGroupServiceClient.java:460) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.services.client.bing.impl.BingAdsClient.getAdGroups(BingAdsClient.java:267) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.searchengines.bing.BingSearchEngine.getGroups(BingSearchEngine.java:249) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineAccountWorker.syncGroups(SearchEngineUpdater.java:2550) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineAccountWorker.call(SearchEngineUpdater.java:1575) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineAccountWorker.call(SearchEngineUpdater.java:1541) [deployment-bidmgr-shaded-jar-2.9.0-SNAPSHOT.jar:na]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_27]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_27]

      Expected Result :

      Exception should be handled - we shouldn't observe Null pointer exception!

        Attachments

          Activity

            People

            • Assignee:
              Madhan Madhan Pulipati [X] (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: