java.util.EmptyStackException

Pentaho BI Platform Tracking | Marius Giepz | 7 years ago
  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
  3. 0

    I occasionally get something like this when I highlight ruby code. Last time this happened, I had something already selected in the ruby editor, and then I tried highlighting something else (Although I wasn't able to easily reproduce this). {code} !ENTRY com.aptana.ruby.core 4 0 2011-07-20 15:24:09.793 !MESSAGE !STACK 0 java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at java.util.Stack.pop(Stack.java:67) at com.aptana.ruby.core.RubyStructureBuilder.exitType(RubyStructureBuilder.java:286) at com.aptana.ruby.core.ast.SourceElementVisitor.visitClassNode(SourceElementVisitor.java:262) at org.jrubyparser.ast.ClassNode.accept(ClassNode.java:68) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:53) at com.aptana.ruby.core.ast.InOrderVisitor.visitNewlineNode(InOrderVisitor.java:525) at org.jrubyparser.ast.NewlineNode.accept(NewlineNode.java:67) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:37) at com.aptana.ruby.core.ast.InOrderVisitor.visitRootNode(InOrderVisitor.java:668) at com.aptana.ruby.core.ast.SourceElementVisitor.visitRootNode(SourceElementVisitor.java:847) at org.jrubyparser.ast.RootNode.accept(RootNode.java:84) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:53) at com.aptana.ruby.core.RubyParser.parse(RubyParser.java:47) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:204) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:176) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.parseURI(RubyCodeResolver.java:284) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.getMatchingElementHyperlinks(RubyCodeResolver.java:397) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.findMethods(RubyCodeResolver.java:333) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.methodCallLink(RubyCodeResolver.java:310) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.resolve(RubyCodeResolver.java:89) at com.aptana.editor.ruby.hyperlink.RubyHyperlinkDetector.detectHyperlinks(RubyHyperlinkDetector.java:58) at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:276) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:452) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) !ENTRY com.aptana.ruby.core 4 0 2011-07-20 15:24:09.799 !MESSAGE !STACK 0 java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at java.util.Stack.pop(Stack.java:67) at com.aptana.ruby.core.RubyStructureBuilder.exitType(RubyStructureBuilder.java:286) at com.aptana.ruby.core.ast.SourceElementVisitor.visitClassNode(SourceElementVisitor.java:262) at org.jrubyparser.ast.ClassNode.accept(ClassNode.java:68) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:53) at com.aptana.ruby.core.ast.InOrderVisitor.visitNewlineNode(InOrderVisitor.java:525) at org.jrubyparser.ast.NewlineNode.accept(NewlineNode.java:67) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:37) at com.aptana.ruby.core.ast.InOrderVisitor.visitRootNode(InOrderVisitor.java:668) at com.aptana.ruby.core.ast.SourceElementVisitor.visitRootNode(SourceElementVisitor.java:847) at org.jrubyparser.ast.RootNode.accept(RootNode.java:84) at com.aptana.ruby.core.ast.AbstractVisitor.acceptNode(AbstractVisitor.java:53) at com.aptana.ruby.core.RubyParser.parse(RubyParser.java:47) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:204) at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:176) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.parseURI(RubyCodeResolver.java:284) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.getMatchingElementHyperlinks(RubyCodeResolver.java:397) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.findMethods(RubyCodeResolver.java:333) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.methodCallLink(RubyCodeResolver.java:310) at com.aptana.ruby.internal.core.codeassist.RubyCodeResolver.resolve(RubyCodeResolver.java:89) at com.aptana.editor.ruby.hyperlink.RubyHyperlinkDetector.detectHyperlinks(RubyHyperlinkDetector.java:58) at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:276) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:452) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) {code}

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.util.EmptyStackException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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