org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report

Pentaho BI Platform Tracking | Matteo Di Liberto Gasparin | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I need to create a report with a group, and seems there's no way to have the group footer not get orphaned on a new page. Setting widows and orphans anywhere on the group (or inside the details) causes an exception: {noformat} org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1765) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:123) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: This cannot be. If the validation said we get a new page, how can we now get lost here at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:1008) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:553) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1713) ... 2 more {noformat} I've tried some combinations of values (between 2 and 4) for both, with no success. Given this problem seems there's no way to not have a widow group footer

    Pentaho BI Platform Tracking | 1 year ago | Matteo Di Liberto Gasparin
    org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report
  2. 0

    I need to create a report with a group, and seems there's no way to have the group footer not get orphaned on a new page. Setting widows and orphans anywhere on the group (or inside the details) causes an exception: {noformat} org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1765) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:123) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: This cannot be. If the validation said we get a new page, how can we now get lost here at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:1008) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:553) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1713) ... 2 more {noformat} I've tried some combinations of values (between 2 and 4) for both, with no success. Given this problem seems there's no way to not have a widow group footer

    Pentaho BI Platform Tracking | 1 year ago | Matteo Di Liberto Gasparin
    org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report
  3. 0

    In some reports when i try to preview to PDF fomat, I get this exception: org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1414) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:132) at java.lang.Thread.run(Thread.java:595) ParentException: java.lang.IllegalStateException: Assertation failed: Block layouting did not proceed: 0 < 16000 at org.pentaho.reporting.engine.classic.core.layout.process.PaginationStep.performPagebreak(PaginationStep.java:61) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.isPageFinished(PageableRenderer.java:82) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.validatePages(AbstractRenderer.java:852) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:810) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:513) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1371) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:132) at java.lang.Thread.run(Thread.java:595) Using all other types of preview I have no problem.

    Pentaho BI Platform Tracking | 7 years ago | David Duque
    org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In some reports when i try to preview to PDF fomat, I get this exception: org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1414) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:132) at java.lang.Thread.run(Thread.java:595) ParentException: java.lang.IllegalStateException: Assertation failed: Block layouting did not proceed: 0 < 16000 at org.pentaho.reporting.engine.classic.core.layout.process.PaginationStep.performPagebreak(PaginationStep.java:61) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.isPageFinished(PageableRenderer.java:82) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.validatePages(AbstractRenderer.java:852) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:810) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:513) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1371) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:132) at java.lang.Thread.run(Thread.java:595) Using all other types of preview I have no problem.

    Pentaho BI Platform Tracking | 7 years ago | David Duque
    org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report
  6. 0

    Reports containing Crosstab elements work successfully in PRD for 4.8 (3.9.4), but when migrated to PRD 7.0, result in a Null Pointer Exception. When originally opening up the report for the first time in 7.0, a message will display for "Incompatible report feature used" and will ask you to "Please migrate this report to version 7.0.0 or newer to work correctly". A screenshot is attached for demonstration. After migration to 7.0, executing the report will result in the following error stacktrace: {noformat} org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1479) at org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:105) at java.lang.Thread.run(Unknown Source) Caused by: org.pentaho.reporting.engine.classic.core.InvalidReportStateException: GroupStarted failed at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.groupStarted(DefaultOutputFunction.java:220) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireGroupStartedEvent(ExpressionEventHelper.java:236) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionEventHelper.fireReportEvent(ExpressionEventHelper.java:49) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:175) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:172) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:172) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:172) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:172) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:1114) at org.pentaho.reporting.engine.classic.core.states.process.BeginCrosstabRowAxisHandler.advance(BeginCrosstabRowAxisHandler.java:37) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:942) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:74) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:52) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:942) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:673) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:502) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1433) ... 2 more Caused by: java.lang.NullPointerException at org.pentaho.reporting.engine.classic.core.layout.build.DefaultLayoutModelBuilder.startBox(DefaultLayoutModelBuilder.java:167) at org.pentaho.reporting.engine.classic.core.layout.build.DefaultLayoutModelBuilder.startBox(DefaultLayoutModelBuilder.java:134) at org.pentaho.reporting.engine.classic.core.layout.output.crosstab.CrosstabOutputHelper.createAutomaticCell(CrosstabOutputHelper.java:320) at org.pentaho.reporting.engine.classic.core.layout.output.crosstab.CrosstabOutputHelper.createAutomaticCell(CrosstabOutputHelper.java:314) at org.pentaho.reporting.engine.classic.core.layout.output.crosstab.CrosstabRowOutputHandler.buildHeaderPlaceholder(CrosstabRowOutputHandler.java:168) at org.pentaho.reporting.engine.classic.core.layout.output.crosstab.CrosstabRowOutputHandler.groupStarted(CrosstabRowOutputHandler.java:57) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.groupStarted(DefaultOutputFunction.java:216) ... 18 more {noformat} The NullPointerException will be resolved if all Crosstab elements are removed from the report.

    Pentaho BI Platform Tracking | 1 month ago | Steve Baker
    org.pentaho.reporting.engine.classic.core.ReportProcessingException: Failed to process the report

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      This cannot be. If the validation said we get a new page, how can we now get lost here

      at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel()
    2. org.pentaho.reporting
      PreviewPdfAction$ExportTask.run
      1. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:1008)
      2. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:553)
      3. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1713)
      4. org.pentaho.reporting.designer.core.actions.report.preview.PreviewPdfAction$ExportTask.run(PreviewPdfAction.java:123)
      4 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame