Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Point Radii Implementation
-
Fix Version/s: Point Radii Implementation
-
Component/s: None
-
Labels:None
-
Environment:
Environment: ST2
Build Details
SMS Core: p16
SMS Service : p4
Description
Getting null pointer exception on doing radii update for bing account.
Steps to reproduce.
Step 1: Create an account for bing.
mysql> select * from pointRadiusModifiers;
---------------------------------+
id | advertID | multiplier | incrementer |
---------------------------------+
1 | NULL | 1 | 0 |
---------------------------------+
Step 2: Now update the pointRadiusModifiers.multiplier by 2.
update pointRadiusModifiers set multiplier =2;
mysql> select * from pointRadiusModifiers;
---------------------------------+
id | advertID | multiplier | incrementer |
---------------------------------+
1 | NULL | 2 | 0 |
---------------------------------+
Stop 3: Insert the job in externalCampaignJobItem.
INSERT INTO externalCampaignJobItem (externalCampaignJobTypeID,externalCampaignJobID,externalCampaignID,createTime) VALUES (4,NULL,'PRTSTST01-3_GM',NOW());
INSERT INTO externalCampaignJobItem (externalCampaignJobTypeID,externalCampaignJobID,externalCampaignID,createTime) VALUES (4,NULL,'PRTSTST01-3_GT',NOW());
Step 4: Grep the JMS listener log.
Actual result: Throwing NPE while updating.
Expected result: Should update the radius in database and ad center.
Attached Log.