In the ensureMaxDays method of AuditorImpl, a File array is returned from the baseFolder field. This invocation can return null.
The code should add a check for null, to ensure that no NullPointerException occurs.