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