我正在制作一份报告,该报告基本上是一组用户分组的饼图(其中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: 断言:Shift不符合预期:realY = 252100000!= 期望= 251700000;移= 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) at 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)
答案 0 :(得分:1)
这被修复为案例http://jira.pentaho.com/browse/PRD-4841。从CI获取最新版本(master/5.1 branch或5.0-branch,您的报告可以正常运行。)