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