Error: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: offset 765, count -764, length 32768