Error: Request processing failed; nested exception is java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -5697 is negative