java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0

Pentaho BI Platform Tracking | Will Gorman | 8 years 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

    Add an empty inline sub-report to an empty report in the report header, preview, no exceptions. Now add an inline sub-report to the group header: java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0 at org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup(ReportDefinitionImpl.java:413) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.enterGroup(ProcessState.java:704) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:65) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:94) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:68) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0 at org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup(ReportDefinitionImpl.java:413) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.enterGroup(ProcessState.java:704) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:65) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:94) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:68) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0
  2. 0

    Add an empty inline sub-report to an empty report in the report header, preview, no exceptions. Now add an inline sub-report to the group header: java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0 at org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup(ReportDefinitionImpl.java:413) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.enterGroup(ProcessState.java:704) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:65) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:94) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:68) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0 at org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup(ReportDefinitionImpl.java:413) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.enterGroup(ProcessState.java:704) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:65) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:94) at org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:68) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.IndexOutOfBoundsException: No group defined at the given index. Max-index=0

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      No group defined at the given index. Max-index=0

      at org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup()
    2. org.pentaho.reporting
      Worker.run
      1. org.pentaho.reporting.engine.classic.core.states.ReportDefinitionImpl.getGroup(ReportDefinitionImpl.java:413)
      2. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.enterGroup(ProcessState.java:704)
      3. org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:65)
      4. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648)
      5. org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:94)
      6. org.pentaho.reporting.engine.classic.core.states.process.BeginGroupHandler.advance(BeginGroupHandler.java:68)
      7. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648)
      8. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602)
      9. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432)
      10. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90)
      11. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270)
      12. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)
      12 frames