Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: Mercury
-
Component/s: Admax (bidding/budgeting)
-
Labels:None
-
Sprint:Sprint 13, Sprint 14, Sprint 15, Sprint 16, Sprint 17
Description
Exception seen on running sebidupdater script for Google.
The following exception is seen on running sebidupdater.sh script for Google though sebidupdater runs successfully and updates the admaxBids table properly.
[TSAApp@aml-qa4-core1 bidmgr]$ ./sebidupdater.sh -d3 -S 3 -U 1177
2015-11-17 12:24:09.952 (3) [main]: Debug Level set to 3
2015-11-17 12:24:10.044 (3) [main]: DatabasePool with a limit of 80 created
2015-11-17 12:24:10.350 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
2015-11-17 12:24:10.390 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
2015-11-17 12:24:10.438 (3) [main]: LicensingFileRefresher: modification detected on 1444839733000 for licensing.properties
2015-11-17 12:24:10.439 (3) [main]: Licensing environment detected, loading configuration.
2015-11-17 12:24:10.439 (3) [main]: Loaded property: distribution-service-url=http://aml-qa4-front1:8080/distribution
2015-11-17 12:24:10.439 (3) [main]: Loaded property: distribution-service-username=readwrite
2015-11-17 12:24:10.440 (3) [main]: Loaded property: distribution-service-password=readwrite
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-auth-url=http://aml-qa4-front1:8080/sapi/rest/security/tokens
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-merchant-service-url=http://aml-qa4-front1:8080/sapi/rest/merchants
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-reseller-service-url=http://aml-qa4-front1:8080/sapi/rest/resellers
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-username=admin+tsa@thesearchagency.com
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-password=admin
2015-11-17 12:24:10.440 (3) [main]: Loaded property: sapi-realm=thesearchagency
2015-11-17 12:24:10.440 (3) [main]: Loaded property: tsa.google.mcc.developerToken=ojCnjZaM6RD1h0yt_DOJZg
2015-11-17 12:24:10.440 (3) [main]: Loaded property: tsa.google.mcc.isReseller=true
2015-11-17 12:24:10.441 (3) [main]: Loaded property: tsa.google.mcc.userAgent=AdMaxLocal AdWords Software TSA QA
2015-11-17 12:24:10.441 (3) [main]: Loaded property: tsa.timezone=UTC
2015-11-17 12:24:10.494 (1) [main]: Exception [Caught exception creating DistributionServiceRemoteClient]:java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:240)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:221)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.init(GoogleAPISearchEngine.java:325)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.init(GoogleAPISearchEngine.java:313)
at com.thesearchagency.searchengines.SearchEngineFactory.getSearchEngine(SearchEngineFactory.java:162)
at com.thesearchagency.searchengines.SearchEngineFactory.getSearchEngine(SearchEngineFactory.java:108)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.getAllPendingBids(SearchEngineBidUpdateRunner.java:161)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.call(SearchEngineBidUpdateRunner.java:107)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.main(SearchEngineBidUpdateRunner.java:64)
2015-11-17 12:24:10.495 (1) [main]: Exception [creating GoogleAdWordsAPI]:javax.xml.rpc.ServiceException: java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:245)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:221)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.init(GoogleAPISearchEngine.java:325)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.init(GoogleAPISearchEngine.java:313)
at com.thesearchagency.searchengines.SearchEngineFactory.getSearchEngine(SearchEngineFactory.java:162)
at com.thesearchagency.searchengines.SearchEngineFactory.getSearchEngine(SearchEngineFactory.java:108)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.getAllPendingBids(SearchEngineBidUpdateRunner.java:161)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.call(SearchEngineBidUpdateRunner.java:107)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdateRunner.main(SearchEngineBidUpdateRunner.java:64)
Caused by: java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:240)
... 8 more
2015-11-17 12:24:10.532 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
2015-11-17 12:24:10.542 (3) [main]: DatabasePool with a limit of 80 created
2015-11-17 12:24:10.586 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)