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