Have you looked up the text for the error? java.lang.ArrayStoreException
There is an explanation there for why the error occurs.
In the statement: Arrays.fill(year, date);
what is the type of...