java.util.EmptyStackException

Pentaho BI Platform Tracking | Benny Chow | 5 years ago
  1. 0

    Analyzer unit test broke on Mondrian 3.3. Worked fine on 3.2. Here's the stack trace. You can see it occurs when Analyzer calls RolapSchemaReader.getLevelMembers java.util.EmptyStackException at java.util.Stack.peek(Unknown Source) at mondrian.server.Locus.peek(Locus.java:63) at mondrian.rolap.SqlTupleReader.prepareTuples(SqlTupleReader.java:387) at mondrian.rolap.SqlTupleReader.readTuples(SqlTupleReader.java:536) at mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:497) at mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:485) at mondrian.rolap.SmartMemberReader.getMembersInLevel(SmartMemberReader.java:146) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMembersInLevel(RolapCubeHierarchy.java:709) at mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:546) at mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:532) at com.pentaho.analyzer.service.impl.AnalysisAreaManager.getLevelMembers(AnalysisAreaManager.java:133) at com.pentaho.analyzer.report.ReportManagerImpl.resolveParameterValue(ReportManagerImpl.java:744) at com.pentaho.analyzer.report.ReportManagerImpl.resolveParameter(ReportManagerImpl.java:711) at com.pentaho.analyzer.report.ReportManagerImpl.setReportParameter(ReportManagerImpl.java:834) at com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:300) at com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:290) at com.pentaho.analyzer.service.impl.ParametersTest.testEqualsWithParentLevel(ParametersTest.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Pentaho BI Platform Tracking | 5 years ago | Benny Chow
    java.util.EmptyStackException
  2. 0

    Analyzer unit test broke on Mondrian 3.3. Worked fine on 3.2. Here's the stack trace. You can see it occurs when Analyzer calls RolapSchemaReader.getLevelMembers java.util.EmptyStackException at java.util.Stack.peek(Unknown Source) at mondrian.server.Locus.peek(Locus.java:63) at mondrian.rolap.SqlTupleReader.prepareTuples(SqlTupleReader.java:387) at mondrian.rolap.SqlTupleReader.readTuples(SqlTupleReader.java:536) at mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:497) at mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:485) at mondrian.rolap.SmartMemberReader.getMembersInLevel(SmartMemberReader.java:146) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMembersInLevel(RolapCubeHierarchy.java:709) at mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:546) at mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:532) at com.pentaho.analyzer.service.impl.AnalysisAreaManager.getLevelMembers(AnalysisAreaManager.java:133) at com.pentaho.analyzer.report.ReportManagerImpl.resolveParameterValue(ReportManagerImpl.java:744) at com.pentaho.analyzer.report.ReportManagerImpl.resolveParameter(ReportManagerImpl.java:711) at com.pentaho.analyzer.report.ReportManagerImpl.setReportParameter(ReportManagerImpl.java:834) at com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:300) at com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:290) at com.pentaho.analyzer.service.impl.ParametersTest.testEqualsWithParentLevel(ParametersTest.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Pentaho BI Platform Tracking | 5 years ago | Benny Chow
    java.util.EmptyStackException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    New Analysis - SampleData (Quadrant analysis) - Open OLAP navigator - send Department to Filter - open Department and expand "+": "An error occurred while rendering Pivot.jsp. Please see the log for details." log: 2012-04-11 09:56:52,388 ERROR [com.tonbeller.wcf.component.RendererTag] trouble rendering navi3096f392-838a-11e1-83e5-8b06e97ee686 java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at mondrian.server.Locus.peek(Locus.java:63) at mondrian.rolap.SqlMemberSource.getMemberChildren2(SqlMemberSource.java:902) at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:830) at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:804) at mondrian.rolap.SmartMemberReader.readMemberChildren(SmartMemberReader.java:247) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:210) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:586) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:682) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176) at mondrian.rolap.RolapSchemaReader.internalGetMemberChildren(RolapSchemaReader.java:170) at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:152) at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:146) at mondrian.olap.DelegatingSchemaReader.getMemberChildren(DelegatingSchemaReader.java:78) at com.tonbeller.jpivot.mondrian.MondrianMemberTree.internalGetChildren(MondrianMemberTree.java:209) at com.tonbeller.jpivot.mondrian.MondrianMemberTree.getChildren(MondrianMemberTree.java:193) at com.tonbeller.jpivot.navigator.member.TreeModelAdapter.getChildren(TreeModelAdapter.java:95) at com.tonbeller.wcf.tree.TreeModelDecorator.getChildren(TreeModelDecorator.java:37) at com.tonbeller.wcf.tree.CachingTreeModelDecorator.getChildren(CachingTreeModelDecorator.java:86) at com.tonbeller.wcf.tree.TreeModelDecorator.getChildren(TreeModelDecorator.java:37) at com.tonbeller.wcf.tree.GroupingTreeModelDecorator.getChildren(GroupingTreeModelDecorator.java:222) at com.tonbeller.wcf.tree.MutableTreeModelDecorator.getChildren(MutableTreeModelDecorator.java:118) at com.tonbeller.wcf.tree.TreeComponent.renderNode(TreeComponent.java:208) at com.tonbeller.wcf.tree.TreeComponent.renderTree(TreeComponent.java:169) at com.tonbeller.wcf.tree.TreeComponent.render(TreeComponent.java:157) at com.tonbeller.wcf.tree.TreeComponent.render(TreeComponent.java:140) at com.tonbeller.jpivot.navigator.member.MemberNavigator.render(MemberNavigator.java:290) at com.tonbeller.wcf.component.NestableComponentSupport.render(NestableComponentSupport.java:39) at com.tonbeller.jpivot.navigator.Navigator.render(Navigator.java:85) at com.tonbeller.wcf.component.RendererTag.doEndTag(RendererTag.java:137) at org.apache.jsp.jsp.Pivot_jsp._jspService(Pivot_jsp.java:2571) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:169) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:60) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) at java.lang.Thread.run(Thread.java:662)

    Pentaho BI Platform Tracking | 5 years ago | Kulikov Alexandr
    java.util.EmptyStackException

  1. franky li 8 times, last 1 month ago
  2. ajinkya_w 1 times, last 2 months ago
  3. Ranjana Dangol 41 times, last 6 months ago
  4. joni1408 1 times, last 6 months ago
  5. Riyaz 2 times, last 6 months ago
4 more registered users
2 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.util.EmptyStackException

    No message provided

    at java.util.Stack.peek()
  2. Java RT
    Stack.peek
    1. java.util.Stack.peek(Unknown Source)
    1 frame
  3. mondrian.server
    Locus.peek
    1. mondrian.server.Locus.peek(Locus.java:63)
    1 frame
  4. mondrian.rolap
    RolapSchemaReader.getLevelMembers
    1. mondrian.rolap.SqlTupleReader.prepareTuples(SqlTupleReader.java:387)
    2. mondrian.rolap.SqlTupleReader.readTuples(SqlTupleReader.java:536)
    3. mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:497)
    4. mondrian.rolap.SqlMemberSource.getMembersInLevel(SqlMemberSource.java:485)
    5. mondrian.rolap.SmartMemberReader.getMembersInLevel(SmartMemberReader.java:146)
    6. mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMembersInLevel(RolapCubeHierarchy.java:709)
    7. mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:546)
    8. mondrian.rolap.RolapSchemaReader.getLevelMembers(RolapSchemaReader.java:532)
    8 frames
  5. com.pentaho.analyzer
    ParametersTest.testEqualsWithParentLevel
    1. com.pentaho.analyzer.service.impl.AnalysisAreaManager.getLevelMembers(AnalysisAreaManager.java:133)
    2. com.pentaho.analyzer.report.ReportManagerImpl.resolveParameterValue(ReportManagerImpl.java:744)
    3. com.pentaho.analyzer.report.ReportManagerImpl.resolveParameter(ReportManagerImpl.java:711)
    4. com.pentaho.analyzer.report.ReportManagerImpl.setReportParameter(ReportManagerImpl.java:834)
    5. com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:300)
    6. com.pentaho.analyzer.service.impl.ParametersTest.setParameterValue(ParametersTest.java:290)
    7. com.pentaho.analyzer.service.impl.ParametersTest.testEqualsWithParentLevel(ParametersTest.java:112)
    7 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. JUnit
    JUnit4ClassRunner.run
    1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
    2. org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
    3. org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
    4. org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
    5. org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
    6. org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
    7. org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
    8. org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
    9. org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
    10. org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
    11. org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
    12. org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
    12 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames