java.util.EmptyStackException

Pentaho BI Platform Tracking | Marius Giepz | 7 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

    I get java.util.EmptyStackException at org.pentaho.reporting.libraries.base.util.FastStack.peek(FastStack.java:124) at org.pentaho.reporting.engine.classic.core.states.crosstab.CrosstabProcessorFunction.itemsAdvanced(CrosstabProcessorFunction.java:284) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireItemsAdvancedEvent(SubLayoutProcess.java:270) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:207) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:998) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:815) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:346) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.performStructuralPreprocessing(AbstractReportProcessor.java:498) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:412) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) when I use crosstabs in subreports. there are severa places in CrosstabProcessorFunction where if (processingStack == null) { return; } could be replaced with if (processingStack == null || processingStack.isEmpty()) { return; } to avoid the problem

    Pentaho BI Platform Tracking | 7 years ago | Marius Giepz
    java.util.EmptyStackException
  2. 0

    I get java.util.EmptyStackException at org.pentaho.reporting.libraries.base.util.FastStack.peek(FastStack.java:124) at org.pentaho.reporting.engine.classic.core.states.crosstab.CrosstabProcessorFunction.itemsAdvanced(CrosstabProcessorFunction.java:284) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireItemsAdvancedEvent(SubLayoutProcess.java:270) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:207) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:998) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:815) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:346) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.performStructuralPreprocessing(AbstractReportProcessor.java:498) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:412) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) when I use crosstabs in subreports. there are severa places in CrosstabProcessorFunction where if (processingStack == null) { return; } could be replaced with if (processingStack == null || processingStack.isEmpty()) { return; } to avoid the problem

    Pentaho BI Platform Tracking | 7 years ago | Marius Giepz
    java.util.EmptyStackException

    Root Cause Analysis

    1. java.util.EmptyStackException

      No message provided

      at org.pentaho.reporting.libraries.base.util.FastStack.peek()
    2. org.pentaho.reporting
      Worker.run
      1. org.pentaho.reporting.libraries.base.util.FastStack.peek(FastStack.java:124)
      2. org.pentaho.reporting.engine.classic.core.states.crosstab.CrosstabProcessorFunction.itemsAdvanced(CrosstabProcessorFunction.java:284)
      3. org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireItemsAdvancedEvent(SubLayoutProcess.java:270)
      4. org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:207)
      5. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:998)
      6. org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46)
      7. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:815)
      8. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:346)
      9. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.performStructuralPreprocessing(AbstractReportProcessor.java:498)
      10. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:412)
      11. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77)
      12. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266)
      13. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
      13 frames