Java runtime error: String index out of range.

Printable View