Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-1514

EmptyStackException when expanding a dimension out of the box

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Incomplete
    • Affects Version/s: 3.5.0 GA (4.8.0 GA Suite Release)
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 7.0.37 on both RedHat and windows 7 64-bit
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Google Chrome 21.x, Internet Explorer 7.x, Mozilla Firefox 15.x
    • Operating System/s:
      RedHat Enterprise Linux 6, Windows 7 (64-bit)

      Description

      When running mondrian out of the box: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.util.EmptyStackException

      1)Use the first link in Mondrian "JPivot pivot table".
      2) Then go to the OLAP navigator icon (cube icon- first icon from the left)
      3)Click on a dimension's link
      4) Expand that dimension

      This has been reproduced on Redhat (tomcat 7.0.27) and windows 7 (tomcat 3.0.37) both 64-bit in the latest IE, Chrome, and Firefox.
      It has been reproduced both out of the box in both these environments and with our own xml definitions and dimensions.

      Result:

      org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.util.EmptyStackException
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
      at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.util.EmptyStackException
      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
      at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:255)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      ... 23 more
      Caused by: java.util.EmptyStackException
      at java.util.Stack.peek(Unknown Source)
      at mondrian.server.Locus.peek(Locus.java:62)
      at mondrian.rolap.SqlMemberSource.getMemberChildren2(SqlMemberSource.java:923)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:850)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:823)
      at mondrian.rolap.SmartMemberReader.readMemberChildren(SmartMemberReader.java:248)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:210)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:597)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:693)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176)
      at mondrian.rolap.RolapSchemaReader.internalGetMemberChildren(RolapSchemaReader.java:167)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:149)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:143)
      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.testpage_jsp._jspx_meth_wcf_005frender_005f1(testpage_jsp.java:1253)
      at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:195)
      ... 26 more

      javax.servlet.ServletException: javax.servlet.jsp.JspException: java.util.EmptyStackException

      javax.servlet.ServletException: javax.servlet.jsp.JspException: java.util.EmptyStackException
      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
      at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:255)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
      at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.util.EmptyStackException
      at java.util.Stack.peek(Unknown Source)
      at mondrian.server.Locus.peek(Locus.java:62)
      at mondrian.rolap.SqlMemberSource.getMemberChildren2(SqlMemberSource.java:923)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:850)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:823)
      at mondrian.rolap.SmartMemberReader.readMemberChildren(SmartMemberReader.java:248)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:210)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:597)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:693)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176)
      at mondrian.rolap.RolapSchemaReader.internalGetMemberChildren(RolapSchemaReader.java:167)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:149)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:143)
      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.testpage_jsp._jspx_meth_wcf_005frender_005f1(testpage_jsp.java:1253)
      at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:195)
      ... 26 more

      java.util.EmptyStackException

      java.util.EmptyStackException
      at java.util.Stack.peek(Unknown Source)
      at mondrian.server.Locus.peek(Locus.java:62)
      at mondrian.rolap.SqlMemberSource.getMemberChildren2(SqlMemberSource.java:923)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:850)
      at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:823)
      at mondrian.rolap.SmartMemberReader.readMemberChildren(SmartMemberReader.java:248)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:210)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:597)
      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:693)
      at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176)
      at mondrian.rolap.RolapSchemaReader.internalGetMemberChildren(RolapSchemaReader.java:167)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:149)
      at mondrian.rolap.RolapSchemaReader.getMemberChildren(RolapSchemaReader.java:143)
      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.testpage_jsp._jspx_meth_wcf_005frender_005f1(testpage_jsp.java:1253)
      at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:195)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
      at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              yoyo1234 George Henry
              Reporter:
              yoyo1234 George Henry
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: