Scheduled reports sometimes fail with java.lang.NullPointerException.