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