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