Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.5.0
-
Fix Version/s: 1.3.0
-
Component/s: AdMax Deployment Service
-
Labels:None
-
Environment:
QA Environment
Build : optus-ear-1.5.0-SNAPSHOT-p854-t20121005-132358-CI.ear
Description
When the Business Location is invalid in the admax deployment service then its throwing the null pointer exception.
Steps to reproduce.
1. Send a site generation request with valid BL.(Find attached file BLErrorTC80SGS)
2. Send Admax Deployment request with invalid BL.(Find attached file BLErrorTC80ADS)
3. Tail the log /home/tsaapp/apps/jboss-5.1.0.GA/tsa_messaging_node_server.log. (Find attached file BLErrorTC80Log.txt)
00:31:23,391 DEBUG [AdMaxDeploymentServiceImpl] Retrieving BusinessLocationId [null]
00:31:23,391 DEBUG [AdMaxDeploymentServiceImpl] Retrieving BusinessAreaID [2000004]
00:31:23,392 WARN [AdMaxDeploymentServiceImpl] Error while processing Campaigns... BLErrorTC80_2000004_null_BLErr
java.lang.NullPointerException
at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.processCampaign(AdMaxDeploymentServiceImpl.java:1067)
at com.thesearchagency.core.smb.service.admaxdeployment.component.AdMaxDeploymentServiceImpl.processCampaigns(AdMaxDeploymentServiceImpl.java:973)