java.lang.ArrayIndexOutOfBoundsException: 2

Pentaho BI Platform Tracking | Kurtis Cruzada | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 8 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 | 8 years ago | Kurtis Cruzada
    java.lang.ArrayIndexOutOfBoundsException: 2

    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