Release Information
Version 8.1
- pdi-ce-8.1.0.0-365.zip
SHA1 - 8f796149b60621926b8083a46ce320e0fbd2009a
MD5 - ad310b1951aacb813d5b8f52b1b82bc6
Steps to Reproduce
1. Open data-integration\samples\transformations\Pentaho Reporting Output Example.ktr file
2. Change output type to HTML (Paged or streamed) in "Generate Reports" - Reporting Output Step.
3. Run the transformation.
It will give an error.
StackTrace
--------
ERROR [AbstractReportProcessor] 340033936: Report processing failed.
org.pentaho.reporting.engine.classic.core.ReportProcessingException: Content-Processing failed.
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1399)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1452)
at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput$6.execute(PentahoReportingOutput.java:365)
at org.pentaho.di.trans.steps.pentahoreporting.ReportExportTask.run(ReportExportTask.java:76)
at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:399)
at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processRow(PentahoReportingOutput.java:143)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Unknown Source)
Caused by: org.pentaho.reporting.engine.classic.core.layout.output.ContentProcessingException: Processing content failed
at org.pentaho.reporting.engine.classic.core.modules.output.table.html.AllItemsHtmlPrinter.print(AllItemsHtmlPrinter.java:46)
at org.pentaho.reporting.engine.classic.core.modules.output.table.html.FlowHtmlOutputProcessor.processTableContent(FlowHtmlOutputProcessor.java:71)
at org.pentaho.reporting.engine.classic.core.modules.output.table.base.AbstractTableOutputProcessor.processPageContent(AbstractTableOutputProcessor.java:106)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor.processContent(AbstractOutputProcessor.java:168)
at org.pentaho.reporting.engine.classic.core.layout.FlowRenderer.performPagination(FlowRenderer.java:169)
at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.processPage(AbstractRenderer.java:479)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1311)
... 7 more
Caused by: java.lang.IllegalArgumentException: The name given is not valid.
at org.pentaho.di.trans.steps.pentahoreporting.urlrepository.FileObjectContentLocation.createItem(FileObjectContentLocation.java:152)
at org.pentaho.reporting.engine.classic.core.modules.output.table.html.HtmlPrinter.print(HtmlPrinter.java:255)
at org.pentaho.reporting.engine.classic.core.modules.output.table.html.AllItemsHtmlPrinter.print(AllItemsHtmlPrinter.java:41)
... 13 more
------------------------
Tried to see source code and it seems, code "documentContentItem = contentLocation.createItem( contentNameGenerator.generateName( null, "text/html" ) );" causing the error and "contentNameGenerator.generateName( null, "text/html" )" generates the null value.
Is there any workaround or fix for this?