NullPointerException with getCpdReport method.
This NPE occurs when a SAXParseException is thrown.
This occurs when the source code has specific characters which are not recognized by UTF-8 encoding (encoding used by cpd xml file).
[ERROR] DashBoardUtils getDocument() SAXException :
org.xml.sax.SAXParseException: An entity determined to be in a certain encoding must not contain sequences illegal in that encoding.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.getDocument(DashBoardUtils.java:792)
at org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.getCpdReport(DashBoardUtils.java:479)
at org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.getDashBoardMavenProject(DashBoardUtils.java:276)
at org.codehaus.mojo.dashboard.report.plugin.DashBoardReportMojo.executeReport(DashBoardReportMojo.java:263)