Project: talenddataquality
Issue TDQ-10840: with a new studio, report can not run before restart the studio(TP_All license)
1. start a new studio which never used before--use TP_All license. 2. create a report with a mysql column analysis. set report mysql datamart, create a new datamart. 3. generate report. Expected Result: report can not run. {code} java.lang.NullPointerException net.sf.jasperreports.engine.JRAbstractExporter.setJasperPrint(JRAbstractExporter.java:862) net.sf.jasperreports.engine.JRAbstractExporter.setInput(JRAbstractExporter.java:930) net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:293) org.talend.dataquality.reporting.JasperReportBuilder.run(JasperReportBuilder.java:300) org.talend.dataquality.reporting.engine.ReportDocGenerator.generateReport(ReportDocGenerator.java:672) org.talend.dataquality.reporting.engine.ReportDocGenerator.generateDoc(ReportDocGenerator.java:406) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generateDocInternal(LocalReportDocGenerator.java:172) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.access$1(LocalReportDocGenerator.java:171) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator$2.run(LocalReportDocGenerator.java:160) org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93) org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:256) org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3227) org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1994) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generateDoc(LocalReportDocGenerator.java:165) org.talend.dataquality.reporting.engine.ReportDocGenerator.generate(ReportDocGenerator.java:287) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generate(LocalReportDocGenerator.java:130) org.talend.dataprofiler.core.tdq.ui.action.GenerateReportFileAction$2.run(GenerateReportFileAction.java:342) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) java.lang.ClassCastException: org.apache.xerces.util.XMLGrammarPoolImpl cannot be cast to org.apache.xerces.xni.grammars.XMLGrammarPool org.apache.xerces.impl.xs.XMLSchemaLoader.reset(Unknown Source) org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source) org.apache.xerces.parsers.XML11Configuration.configurePipeline(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.commons.digester.Digester.parse(Digester.java:1892) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:230) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:218) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:172) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:156) org.talend.dataquality.reporting.JasperReportBuilder.createSubReport(JasperReportBuilder.java:396) org.talend.dataquality.reporting.JasperReportBuilder.run(JasperReportBuilder.java:242) org.talend.dataquality.reporting.engine.ReportDocGenerator.generateReport(ReportDocGenerator.java:672) org.talend.dataquality.reporting.engine.ReportDocGenerator.generateDoc(ReportDocGenerator.java:406) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generateDocInternal(LocalReportDocGenerator.java:172) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.access$1(LocalReportDocGenerator.java:171) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator$2.run(LocalReportDocGenerator.java:160) org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93) org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:256) org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3227) org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1994) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generateDoc(LocalReportDocGenerator.java:165) org.talend.dataquality.reporting.engine.ReportDocGenerator.generate(ReportDocGenerator.java:287) org.talend.dataprofiler.core.tdq.action.LocalReportDocGenerator.generate(LocalReportDocGenerator.java:130) org.talend.dataprofiler.core.tdq.ui.action.GenerateReportFileAction$2.run(GenerateReportFileAction.java:342) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
Story points: 1