Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: Kinsei
-
Component/s: Admax (bidding/budgeting)
-
Labels:None
-
Epic Link:
Description
When YahooJapanReport is run before any accounts are created (or on a system that doesn't support Y!J) it will generate exceptions and returns a status code of 0.
Here is an example of an exception that is generated:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1937)
at com.thesearchagency.searchengines.yahoojapan.reporting.YahooJapanReport.getUserIdsString(YahooJapanReport.java:316)
at com.thesearchagency.searchengines.yahoojapan.reporting.YahooJapanReport.init(YahooJapanReport.java:225)
at com.thesearchagency.searchengines.yahoojapan.reporting.YahooJapanReport.main(YahooJapanReport.java:87)