我正在构建一个报告,该报告基本上是一组按用户分组的饼图(其中有13个)。
每个饼图使用不同的查询(实际上,相同的查询,不同的表)。我放下它们,一切正常,直到第11个饼图。第11个饼图因错误而使PRD崩溃:
org.pentaho.reporting.engine.classic.core.InvalidReportStateException: Assert: Shift is not as expected: realY=252100000 != expectation=251700000; Shift=63200000; AdditionalShift=-400000; RealShift=62800000
我检查了查询,没关系。
任何人都可以解释正在发生的事情,或者给我一些失败的提示?
完整的堆栈跟踪:
org.pentaho.reporting.engine.classic.core.InvalidReportStateException:
断言:移位不符合预期:realY = 252100000!=
期望= 251700000; Shift = 63200000; AdditionalShift = -400000;
RealShift = 62800000
在org.pentaho.reporting.engine.classic.core.layout.process.PaginationStepLib.assertBlockPosition(PaginationStepLib.java:162)
在org.pentaho.reporting.engine.classic.core.layout.process.PaginationStep.handleStartBlockLevelBox(PaginationStep.java:169)
在org.pentaho.reporting.engine.classic.core.layout.process.PaginationStep.startBlockLevelBox(PaginationStep.java:159)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:421)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processCanvasLevelChild(IterateVisualProcessStep.java:370)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:55)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBlockLevelChild(IterateVisualProcessStep.java:423)
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.startProcessing(IterateVisualProcessStep.java:51)处
在org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep.processBoxChilds(IterateVisualProcessStep.java:440)
在org.pentaho.reporting.engine.classic.core.layout.process.PaginationStep.performPagebreak(PaginationStep.java:116)
在org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:134)
在org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.processPage(AbstractRenderer.java:517)
在org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:968)上
在org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:534)
在org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:78)
在org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane $ RepaginationRunnable.run(PreviewPane.java:271)
在org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
最佳答案
这已固定为案例http://jira.pentaho.com/browse/PRD-4841。从CI中获取最新版本(master/5.1 branch或5.0-branch,您的报告将正常运行。)