Error: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: offset 1254, count -1253, length 16384