String index out of range 2 java July 8, 2019 16 32 64 128 Java.lang.stringindexoutofboundsexception string index out of range 2 Caused by java.lang.stringindexoutofboundsexception string index out of range 2 Java.lang.indexoutofboundsexception index 0 out of bounds for length 0 Index in java