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

Deleting a Ba/BL throws exception in listener

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Mercury
    • Labels:
      None
    • Environment:
    • Sprint:
      Sprint 13

      Description

      Deleting a Ba/BL throws exception in listener

      1) Create an order with 2 BA/BL and deploy
      2) Click Edit order, delete a BA/BL and redeploy

      Observe the listener log

      2015-11-13 11:52:28.094 (3) [pool-3-thread-10]: Updating deployment status to 'InProgress' for campaignID: 4654
      2015-11-13 11:52:28,099 [pool-3-thread-10] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active
      2015-11-13 11:52:28,105 [pool-3-thread-10] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active
      2015-11-13 11:52:28.106 (3) [pool-3-thread-10]: Updating deployment status to 'InProgress' for campaignID: 4655
      2015-11-13 11:52:28,111 [pool-3-thread-10] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active
      2015-11-13 11:52:28,115 [pool-3-thread-10] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active
      2015-11-13 11:52:28.118 (3) [pool-3-thread-10]: Start processing DEPLOY request (z9Z8qZqjOAe7ZZ7MOLI1) for account 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1. 4 campaign(s).
      2015-11-13 11:52:28.118 (3) [pool-3-thread-10]: Performing sync for account: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1 ID#1068
      2015-11-13 11:52:28.121 (2) [pool-3-thread-10]: Exception [Unhandled exception]:java.lang.IllegalStateException: Request distribution [Google does not match database [Bing for 4654_GT
      at com.thesearchagency.admaxlistener.worker.AccountWorker.setDistributionOnUpdateRequest(AccountWorker.java:352)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.parseChanges(AccountWorker.java:258)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.deploySync(AccountWorker.java:375)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:151)
      at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:446)
      at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:96)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      2015-11-13 11:52:28.121 (3) [pool-3-thread-10]: 0 campaign(s) to update.
      2015-11-13 11:52:28.121 (3) [pool-3-thread-10]: 0 campaign(s) to create.
      2015-11-13 11:52:28.121 (3) [pool-3-thread-10]: 0 campaign(s) to retry and update.
      2015-11-13 11:52:28.122 (3) [pool-3-thread-10]: Finished DEPLOY request for campaign 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4654_GT: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.122 (3) [pool-3-thread-10]: Finished DEPLOY request for campaign 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4654_GM: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.123 (3) [pool-3-thread-10]: Finished DEPLOY request for campaign 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4655_GT: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.123 (3) [pool-3-thread-10]: Finished DEPLOY request for campaign 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4655_GM: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.123 (3) [pool-3-thread-10]: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1 has 0 campaigns for a SE Update accounts sync.
      2015-11-13 11:52:28.123 (3) [pool-3-thread-10]: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1 has 0 campaigns for a SE Update groups-listings sync.
      2015-11-13 11:52:28.123 (3) [pool-3-thread-10]: Finished sub-campaign processing for DEPLOY deploymentID (z9Z8qZqjOAe7ZZ7MOLI1). account 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1. 4 submitted, 4 ok.
      2015-11-13 11:52:28.124 (3) [pool-3-thread-10]: Updating deployment status to 'Success' for campaignID: 4654
      2015-11-13 11:52:28.124 (3) [pool-3-thread-10]: Finished DEPLOY request for 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4654: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.124 (3) [pool-3-thread-10]: Updating deployment status to 'Success' for campaignID: 4655
      2015-11-13 11:52:28.125 (3) [pool-3-thread-10]: Finished DEPLOY request for 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1_10034_44_4655: SUCCEEDED (merchant: 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1)
      2015-11-13 11:52:28.125 (3) [pool-3-thread-10]: Finished DEPLOY request, deploymentID (z9Z8qZqjOAe7ZZ7MOLI1), account 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1
      2015-11-13 11:52:28.125 (3) [pool-3-thread-10]: Request removed from map for customerID 98ff3e0b-a61b-4545-91b4-c90fe2eb58b1

      Note: Order got re-deployed successfully and DB is set properly

        Attachments

          Activity

            People

            • Assignee:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
              Reporter:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: