Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3610

YahooJapanReport doesn't handle "no accounts" gracefully

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Kinsei
    • Labels:
      None

      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)

        Attachments

          Activity

            People

            • Assignee:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
              Reporter:
              rgardner Ross Gardner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: