Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2690

GoogleV2011_API_Upgrade:seupdate debug logs throw exception for adding new campaign

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Google v201101
    • Fix Version/s: Google v201101
    • Component/s: Google
    • Labels:
      None
    • Environment:

      Staging-xml1

      build:tsa-build-bidmgr-2011-06-15-p13-r29675

      Description

      seupdate debug logs throw exception for adding new campaign.

      Steps to reproduce:

      1)Login to Adwords

      2)Add the campaign to CSC : Campaign 24

      3)Run ./seupdate.sh -d3 --distribution 3 -R --accounts --groups --listings --accountid 17 2>&1|tee /tmp/addAds3.log

      .

      .

      .

      2011-06-14 00:09:40.526 (1) [P1T1]: Exception [Error saving record]:com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '3-' for key 2

      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)

      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)

      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)

      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)

      at com.mysql.jdbc.Connection.execSQL(Connection.java:3170)

      at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1316)

      at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1235)

      at com.carldunham.jst.db.Database.executeUpdate(Database.java:401)

      at com.carldunham.jst.db.BaseDatabaseTable.insert(BaseDatabaseTable.java:345)

      at com.carldunham.jst.db.BaseDatabaseTableRow.save(BaseDatabaseTableRow.java:490)

      at com.carldunham.jst.db.BaseDatabaseTableRow.save(BaseDatabaseTableRow.java:424)

      at com.thesearchagency.searchengines.SearchEngineUpdater$DistributionWorker.syncUsers(SearchEngineUpdater.java:1014)

      at com.thesearchagency.searchengines.SearchEngineUpdater$DistributionWorker.run(SearchEngineUpdater.java:722)

      {Detailed log is attached.}

      4) See if the campaign is added to CCC.

      Actual Result:

      Campaign hasn't added to the CCC i.e.staging .

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: