Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-906

ArrayIndexOutOfBoundsException thrown while adding Google ads/keywords having policy violating text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Disable Display Network
    • Fix Version/s: AdWords v201309
    • Component/s: None
    • Labels:
      None
    • Environment:

      ST2 Environment and Production

    • Sprint:
      Sprint 1 - Adwords Upgrade

      Description

      We are getting ArrayIndexoutOfBoundsExcpetion, if google ads/keywords have policy violating text.

      Snippet of the log

      ads:
      2014-02-11 15:45:07.936 (3) [pool-341-thread-1]: TextAdChangeRequest (accountID 85937): Sending 3 add requests
      2014-02-11 15:45:08.720 (2) [pool-341-thread-1]: Unknown / unexpected exception [java.lang.ArrayIndexOutOfBoundsException]. msg=0
      2014-02-11 15:45:08.720 (1) [pool-341-thread-1]: Exception [unhandled exception]:java.lang.ArrayIndexOutOfBoundsException: 0
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.addAdList(GoogleAdWordsAPI.java:3560)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.TextAdChangeRequest.sendRequest(TextAdChangeRequest.java:58)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.TextAdChangeRequest.sendRequest(TextAdChangeRequest.java:34)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:115)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$RequestWorker.call(GoogleContentEditor.java:1416)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$RequestWorker.call(GoogleContentEditor.java:1393)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

      keywords:
      2014-03-10 02:17:41.243 (3) [P11T1]: replace 2 changed campaigns
      2014-03-10 02:17:41.316 (3) [pool-35-thread-1]: KeywordChangeRequest (accountID 79798): Sending 1 add requests
      2014-03-10 02:17:41.330 (3) [pool-35-thread-2]: KeywordChangeRequest (accountID 79798): Sending 3 add requests
      2014-03-10 02:17:42.080 (2) [pool-35-thread-2]: Unknown / unexpected exception [java.lang.ArrayIndexOutOfBoundsException]. msg=0
      2014-03-10 02:17:42.081 (1) [pool-35-thread-2]: Exception [unhandled exception]:java.lang.ArrayIndexOutOfBoundsException: 0
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.addCriterionList(GoogleAdWordsAPI.java:3735)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.KeywordChangeRequest.sendRequest(KeywordChangeRequest.java:66)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.KeywordChangeRequest.sendRequest(KeywordChangeRequest.java:41)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:115)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$RequestWorker.call(GoogleContentEditor.java:1416)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$RequestWorker.call(GoogleContentEditor.java:1393)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

            • Assignee:
              anil.kumar Anil Kumar Halmadgi
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: