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

OPTUS_BIDMGR:Radius boosting throws NullPointerException

    Details

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

      Description

      Radius boosting throws NullPointerException.

      1) Added entry to table 'pointRadiusModifiers' of advertid=atultest16

      mysql> select * from pointRadiusModifiers;
      -----------------------------------+

      id advertID multiplier incrementer

      -----------------------------------+

      1 null 1 0
      2 atultest16 2.5 0

      -----------------------------------+
      2 rows in set (0.00 sec)

      2)• Inserted the jobs into table "externalCampaignJobItem" for campaign Update.
      mysql> select * from externalCampaignJobType;
      -------------------------------------------------------------+

      id description maxJobSize initialDelaySec

      -------------------------------------------------------------+

      1 SEUPDATE_ACCOUNTS 250 3600
      2 SEUPDATE_GROUPS_LISTINGS 20 900
      3 GCE_DISAPPROVAL_RESUBMIT 10 0
      4 GCE_CAMPAIGN_UPDATE 25 0
      5 ENHANCED_MIGRATE 100 0
      6 GCE_CAMPAIGN_UPDATE_NO_STRUCTURE 200 0

      -------------------------------------------------------------+
      6 rows in set (0.00 sec)

      insert into clients.externalCampaignJobItem (externalCampaignID, externalCampaignJobTypeID, createTime) Values('atultest16_GT',6, now());
      insert into clients.externalCampaignJobItem (externalCampaignID, externalCampaignJobTypeID, createTime) Values('atultest16_GM',6, now());
      insert into clients.externalCampaignJobItem (externalCampaignID, externalCampaignJobTypeID, createTime) Values('atultest16_MO',6, now());

      Also updated 'admaxjmslistener.properties' - com.thesearchagency.admaxlistener.TasksEnabled=true and restarted the listener (this property allows jobs to be automatically triggered)

      Also useful to change the "wait" time to kick-off scheduled tasks to 10 - com.thesearchagency.admaxlistener.TaskIntervalSec=10

      Also useful to change the "try count" to 1 so it doesn't keep retrying - com.thesearchagency.admaxlistener.TaskTryLimit=1

      3)Observe the jboss logs and listener logs on SMB1/Agency1 respectively.

      Jobs get triggered and listener log shows ===detailed log attached ===

      2012-07-10 00:38:26.107 (3) [pool-4-thread-1]: Queue worker tmp queue deleted.
      2012-07-10 00:38:26.110 (3) [pool-4-thread-1]: Queue worker session closed.
      2012-07-10 00:38:26.110 (1) [pool-4-thread-1]: Error while managing jobs: AccountStructure request for atultest16 failed. Info: Error occurred during request ==detailed log attached.

      Jboss logs shows :

      :48:22,620 DEBUG [AdMaxDeploymentServiceImpl] Processing CampaignInfo...
      14:48:22,620 DEBUG [AdMaxDeploymentServiceImpl] Retrieving BusinessLocationId [null]
      14:48:22,620 DEBUG [AdMaxDeploymentServiceImpl] Retrieving BusinessAreaID [null]
      14:48:22,621 ERROR [AdMaxDeploymentServiceImpl] Info request failed
      java.lang.NullPointerException
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.processCampaign(AdMaxDeploymentServiceImpl.java:963)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.getCampaignInfo(AdMaxDeploymentServiceImpl.java:506)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.processInfoRequest(AdMaxDeploymentServiceImpl.java:838)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.processInfoRequest(AdMaxDeploymentServiceImpl.java:329)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentRequestMDB.handleInfoRequest(AdMaxDeploymentRequestMDB.java:279)
      at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentRequestMDB.onMessage(AdMaxDeploymentRequestMDB.java:105)

        Attachments

          Activity

            People

            • Assignee:
              caitlyn Caitlyn Duggan (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: