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