Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Pentaho Reporting Output - Streaming HTML error

$
0
0
Hello!

We want to upgrade our Pentaho Environment from version 5.1 to version 8.3.
While we were testing we encounter a problem with the Pentaho Reporting Output step in DI.

Simply said:
We use the Pentaho Report to generate a HTML file which we use in the mail body to send mails to our clients.
Because we send it in a mail step, we need to use Streaming HTML to get rid of the CSS file.

Our job (which runs fine in version 5.1) has stopped working in version 8.3.
After that i made a small transformation and a small report:

Report: No parameters, just a label in the report header which says: Hello!
Transformation: Only giving the input and the output directories. Input --> "C:\Temp\test.prpt" Output --> "C"\Temp\Output\test.html"

This results in the following error:
2019/08/05 11:08:54 - Pentaho reporting output.0 - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : Unexpected error
2019/08/05 11:08:54 - Pentaho reporting output.0 - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : org.pentaho.di.core.exception.KettleException:
2019/08/05 11:08:54 - Pentaho reporting output.0 - There was an unexpected error processing report 'C:\Temp\test.prpt' to produce file 'C:\Temp\Output\test.html' with processor: Streaming HTML.
2019/08/05 11:08:54 - Pentaho reporting output.0 - Failed to process the report
2019/08/05 11:08:54 - Pentaho reporting output.0 -
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:418)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processRow(PentahoReportingOutput.java:143)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at java.lang.Thread.run(Thread.java:748)
2019/08/05 11:08:54 - Pentaho reporting output.0 - Caused by: org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1479)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput$5.execute(PentahoReportingOutput.java:323)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.ReportExportTask.run(ReportExportTask.java:111)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:399)
2019/08/05 11:08:54 - Pentaho reporting output.0 - ... 3 more
2019/08/05 11:08:54 - Pentaho reporting output.0 - Caused by: org.pentaho.reporting.engine.classic.core.InvalidReportStateException: Other failure
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.html.FastHtmlExportTemplate.write(FastHtmlExportTemplate.java:57)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.FastExportOutputFunction.reportStarted(FastExportOutputFunction.java:51)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportStartedEvent(ExpressionEventHelper.java:368)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportEvent(ExpressionEventHelper.java:57)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:175)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:172)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1120)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.process.ReportHeaderHandler.advance(ReportHeaderHandler.java:43)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:948)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1126)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1452)
2019/08/05 11:08:54 - Pentaho reporting output.0 - ... 6 more
2019/08/05 11:08:54 - Pentaho reporting output.0 - Caused by: java.lang.IllegalArgumentException: The name given is not valid.
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.di.trans.steps.pentahoreporting.urlrepository.FileObjectContentLocation.createItem(FileObjectContentLocation.java:152)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.html.FastHtmlPrinter.print(FastHtmlPrinter.java:130)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.html.FastHtmlFormattedDataBuilder.compute(FastHtmlFormattedDataBuilder.java:54)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.html.FastHtmlContentProducerTemplate.writeContent(FastHtmlContentProducerTemplate.java:52)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.template.AbstractContentProducerTemplate.write(AbstractContentProducerTemplate.java:61)
2019/08/05 11:08:54 - Pentaho reporting output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.fast.html.FastHtmlExportTemplate.write(FastHtmlExportTemplate.java:53)
2019/08/05 11:08:54 - Pentaho reporting output.0 - ... 16 more
2019/08/05 11:08:54 - Pentaho reporting output.0 - child index = 1, logging object : org.pentaho.di.core.logging.LoggingObject@70f21b6a parent=25f0b469-9269-41fa-891e-efdc1b63d3c4
2019/08/05 11:08:54 - Pentaho reporting output.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2019/08/05 11:08:54 - TestReport - searching for annotations
2019/08/05 11:08:54 - TestReport - no annotations found
2019/08/05 11:08:54 - TestReport - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : Errors detected!
2019/08/05 11:08:54 - Spoon - The transformation has finished!!
2019/08/05 11:08:54 - TestReport - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : Errors detected!
2019/08/05 11:08:54 - TestReport - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : Errors detected!
2019/08/05 11:08:54 - TestReport - Transformation detected one or more steps with errors.
2019/08/05 11:08:54 - TestReport - Transformation is killing the other steps!
2019/08/05 11:08:54 - TestReport - Looking at step: Table input
2019/08/05 11:08:54 - TestReport - Looking at step: Add constants
2019/08/05 11:08:54 - TestReport - Looking at step: Pentaho reporting output


I can't seem to find any information on this. How can i resolve this?

Thanks in advance!

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>