Reporting controller: fix another null pointer exception which might occurr in some cases