java.lang.ArrayIndexOutOfBoundsException: 2

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

    Repro Path: 1. Create a report using the wizard. Preview in the wizard so you know it runs. 2. Select "Finish". Now, the report will appear in the designer. 3. Preview it. You will go into preview and only see the background image and the message area will be flashing. Please see the error below. 4. Attached is the report as well. If I enabled the property, wizard:wizard enabled, the report will run. However, it should run in both cases. java.lang.ArrayIndexOutOfBoundsException: 2 at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing(WizardProcessor.java:153) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performCommonPreProcessing(WizardProcessor.java:125) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performPreProcessing(WizardProcessor.java:91) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:246) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) 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:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) java.lang.ArrayIndexOutOfBoundsException: 2 at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing(WizardProcessor.java:153) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performCommonPreProcessing(WizardProcessor.java:125) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performPreProcessing(WizardProcessor.java:91) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:246) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) 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:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.lang.ArrayIndexOutOfBoundsException: 2
  2. 0

    Repro Path: 1. Create a report using the wizard. Preview in the wizard so you know it runs. 2. Select "Finish". Now, the report will appear in the designer. 3. Preview it. You will go into preview and only see the background image and the message area will be flashing. Please see the error below. 4. Attached is the report as well. If I enabled the property, wizard:wizard enabled, the report will run. However, it should run in both cases. java.lang.ArrayIndexOutOfBoundsException: 2 at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing(WizardProcessor.java:153) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performCommonPreProcessing(WizardProcessor.java:125) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performPreProcessing(WizardProcessor.java:91) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:246) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) 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:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) java.lang.ArrayIndexOutOfBoundsException: 2 at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing(WizardProcessor.java:153) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performCommonPreProcessing(WizardProcessor.java:125) at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performPreProcessing(WizardProcessor.java:91) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:246) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) 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:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

    Pentaho BI Platform Tracking | 7 years ago | Kurtis Cruzada
    java.lang.ArrayIndexOutOfBoundsException: 2
  3. 0

    Error handling when reading from txt file

    Stack Overflow | 4 weeks ago | Buupu
    java.lang.ArrayIndexOutOfBoundsException: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    migrating jsf1.1 to jsf1.1_02

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2

    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.ArrayIndexOutOfBoundsException

      2

      at org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing()
    2. org.pentaho.reporting
      Worker.run
      1. org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performRefreshPreProcessing(WizardProcessor.java:153)
      2. org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performCommonPreProcessing(WizardProcessor.java:125)
      3. org.pentaho.reporting.engine.classic.wizard.WizardProcessor.performPreProcessing(WizardProcessor.java:91)
      4. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:246)
      5. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387)
      6. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90)
      7. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:274)
      8. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)
      8 frames