Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getTemplates() throws StringIndexOutOfBoundsException when there are no templates on a page #30

Closed
GoogleCodeExporter opened this issue Mar 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Stack trace:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
index out of range: -1
    at java.lang.String.substring(String.java:1931)
    at java.lang.String.substring(String.java:1904)
    at org.wikipedia.Wiki.getTemplates(Wiki.java:2039)
    at org.daily.DRArchive.main(DRArchive.java:34)

Might be something worth looking into.

Original issue reported on code.google.com by alec.b...@gmail.com on 6 Apr 2013 at 8:36

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r136.

Original comment by stop.squark on 8 Apr 2013 at 12:56

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant