java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

Pentaho BI Platform Tracking | Kurtis Cruzada | 8 years ago
  1. 0

    Repro... 1. Create a new report. 2. Add a inline subreport to it in the report header band. 3. On this subreport add a chart. Preview it. It runs. 4. On the master report, add another sub report in the report header band. 5. On this subreport add a chart. Preview. It fails. Here is the error. java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.remove(ArrayList.java:389) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.clearInlineSubreports(DefaultOutputFunction.java:1087) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:87) at org.pentaho.reporting.engine.classic.core.states.process.ReportHeaderHandler.advance(ReportHeaderHandler.java:61) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:636) 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 | Kurtis Cruzada
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  2. 0

    Repro... 1. Create a new report. 2. Add a inline subreport to it in the report header band. 3. On this subreport add a chart. Preview it. It runs. 4. On the master report, add another sub report in the report header band. 5. On this subreport add a chart. Preview. It fails. Here is the error. java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.remove(ArrayList.java:389) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.clearInlineSubreports(DefaultOutputFunction.java:1087) at org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:87) at org.pentaho.reporting.engine.classic.core.states.process.ReportHeaderHandler.advance(ReportHeaderHandler.java:61) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:636) 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 | Kurtis Cruzada
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  3. 0

    ERROR when appending ArrayList.remove and ArrayList.set

    Stack Overflow | 2 years ago | Lyd
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why I cannot remove the cell in my jtable

    Stack Overflow | 4 years ago | user1761818
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

  1. ajinkya_w 580 times, last 2 months ago
  2. rlovtangen 2 times, last 2 months ago
  3. davidvanlaatum 1 times, last 3 months ago
  4. brunosatriani 38 times, last 5 months ago
  5. sriharshakiran 2 times, last 6 months ago
1 more registered users
5 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.IndexOutOfBoundsException

    Index: 1, Size: 1

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.remove
    1. java.util.ArrayList.RangeCheck(ArrayList.java:546)
    2. java.util.ArrayList.remove(ArrayList.java:389)
    2 frames
  3. org.pentaho.reporting
    Worker.run
    1. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.clearInlineSubreports(DefaultOutputFunction.java:1087)
    2. org.pentaho.reporting.engine.classic.core.states.process.InlineSubreportProcessor.processInline(InlineSubreportProcessor.java:87)
    3. org.pentaho.reporting.engine.classic.core.states.process.ReportHeaderHandler.advance(ReportHeaderHandler.java:61)
    4. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:636)
    5. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:602)
    6. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:432)
    7. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90)
    8. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270)
    9. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)
    9 frames