Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Fuji
-
Fix Version/s: All Time Backlog
-
Component/s: None
-
Labels:None
-
Environment:
bidmgr-distribution-2.7.0-dev-t20141107163447
smb-ear-2.7.0-t20141107-123339.ear
Description
Keyword and Location alias update throws null pointer exception.
Steps to reproduce
1. Deploy an order having location with aliases
2.Update the keyword file pertaining to above business area and add/remove few location aliases to the table mms_common.locationAliases
3. Go into JMX console (aml-qa7-core1:8080/jmx-console/) and scroll down to jboss.j2ee and click on the KeywordListMonitorJMX,service=EJB3,type=ManagementInterface link.
4.Click on the invoke button of import keywords - keyword gets updated
5.Click on invoke button of the redeployCampaign and it redeploys affected BAs
Actual Result:
Keywords and locations alias aren't updated to the Adwords , listener log shows the null pointer exception!
Snippet of listener log:
015-02-25 13:25:00.546 (4) [pool-3-thread-3]: test query succeeded, returned "5.5.34"
2015-02-25 13:25:00.547 (4) [pool-3-thread-3]: spike: SQL->[select * from `tsacommon`.`searchEngineUsers` where (`id`=64) limit 1]
2015-02-25 13:25:00.577 (2) [pool-3-thread-4]: Error: CampID: 1454_GT Info: Error during update request.
2015-02-25 13:25:00.577 (2) [pool-3-thread-4]: Error: CampID: 1454_GM Info: Error during update request.
2015-02-25 13:25:00.578 (1) [pool-3-thread-4]: Exception [Error during update request.]:java.lang.NullPointerException
at com.thesearchagency.searchengines.yahoojapan.YahooJapanAccountDeployer.replaceKeywords(YahooJapanAccountDeployer.java:986)
at com.thesearchagency.admaxlistener.deployer.MultiplexAccountDeployer.replaceKeywords(MultiplexAccountDeployer.java:315)
at com.thesearchagency.admaxlistener.worker.CampaignUpdateWorker.campaignSync(CampaignUpdateWorker.java:466)
at com.thesearchagency.admaxlistener.worker.CampaignUpdateWorker.call(CampaignUpdateWorker.java:117)
at com.thesearchagency.admaxlistener.worker.AccountWorker.updateCampaigns(AccountWorker.java:531)
at com.thesearchagency.admaxlistener.worker.AccountWorker.deploySync(AccountWorker.java:397)
at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:151)
at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:416)
at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:95)
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)
Note: Tested this with Rushmore (Google) builds, automatic keyword and location alias works fine.