Export violationsreport - nullpointerexception file extension almost solved