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