nullPointerException in report()