mondrian.xmla.XmlaException: Mondrian Error:XMLA Execute unparse results error

Pentaho BI Platform Tracking | Kim Goldov | 6 years ago
  1. 0

    I'm seeing a problem that is similar to MONDRIAN-762 in two ways. 1) The error raised is "mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCubeMember" 2) The error occurs only with XMLA (not through MDXQueryServlet) Unlike MONDRIAN-762 however, I was not able to reproduce this problem with the Mondrian demo and FoodMart schema. I have extended the Mondrian demo software to work with our influenza surveillance database. I've created a modified "MDXQueryServlet" that points to our schema, and I've added our catalog to datasources.properties. Here is my XMLA request: <Execute xmlns="urn:schemas-microsoft-com:xml-analysis" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <Command> <Statement> SELECT {[Measures].Members} ON COLUMNS, NON EMPTY {[Time].[Week].Members} ON ROWS FROM [Flu] </Statement> </Command> <Properties> <PropertyList> <Catalog>Distribute</Catalog> <DataSourceInfo>Provider=Mondrian;DataSource=Distribute;</DataSourceInfo> <Format>Multidimensional</Format> <Content>SchemaData</Content> </PropertyList> </Properties> </Execute> I am able to consistently reproduce the error after restarting Tomcat, however if I remove the "NON EMPTY" from the statement, the request succeeds. If I then add the "NON EMPTY" back in, the request continues to succeed. If the request fails (with "NON EMPTY" there) and then I remove the "NON EMPTY", the request continues to fail. --------- Here is the Distribute catalog (this stripped down version still reproduces the error): <Schema name="Distribute"> <Cube name="Flu"> <Table name="fact_observation_small"/> <Dimension name="Time" foreignKey="id_dateTimeRange" type="TimeDimension"> <Hierarchy primaryKey="id_dateTimeRange" hasAll="true"> <Table name="cdim_day"/> <Level name="Week" column="weekCdcEnding" uniqueMembers="false" levelType="TimeWeeks" type="String"/> <Level name="Day" column="day" uniqueMembers="false" levelType="TimeDays" type="String"/> </Hierarchy> </Dimension> <Measure name="Value" column="value" aggregator="sum" datatype="Numeric" formatString="#,###.####"/> </Cube> </Schema> -------- Stack trace: [JPivot] 11 Aug 2010 16:27:38,551 ERROR [Session ] mondrian.xmla.XmlaServlet#doPost: Errors when handling XML/A message mondrian.xmla.XmlaException: Mondrian Error:XMLA Execute unparse results error at mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:697) at mondrian.xmla.XmlaHandler.process(XmlaHandler.java:551) at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:426) at mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jsp.xmla_jsp._jspService(xmla_jsp.java:57) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCubeMember at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:569) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:679) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:166) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:356) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:282) at mondrian.rolap.DelegatingRolapMember.getPropertyValue(DelegatingRolapMember.java:105) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.writeMember(XmlaHandler.java:2137) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axis(XmlaHandler.java:2107) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axes(XmlaHandler.java:1974) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.unparse(XmlaHandler.java:1784) at mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:690) ... 32 more

    Pentaho BI Platform Tracking | 6 years ago | Kim Goldov
    mondrian.xmla.XmlaException: Mondrian Error:XMLA Execute unparse results error
  2. 0

    I'm seeing a problem that is similar to MONDRIAN-762 in two ways. 1) The error raised is "mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCubeMember" 2) The error occurs only with XMLA (not through MDXQueryServlet) Unlike MONDRIAN-762 however, I was not able to reproduce this problem with the Mondrian demo and FoodMart schema. I have extended the Mondrian demo software to work with our influenza surveillance database. I've created a modified "MDXQueryServlet" that points to our schema, and I've added our catalog to datasources.properties. Here is my XMLA request: <Execute xmlns="urn:schemas-microsoft-com:xml-analysis" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <Command> <Statement> SELECT {[Measures].Members} ON COLUMNS, NON EMPTY {[Time].[Week].Members} ON ROWS FROM [Flu] </Statement> </Command> <Properties> <PropertyList> <Catalog>Distribute</Catalog> <DataSourceInfo>Provider=Mondrian;DataSource=Distribute;</DataSourceInfo> <Format>Multidimensional</Format> <Content>SchemaData</Content> </PropertyList> </Properties> </Execute> I am able to consistently reproduce the error after restarting Tomcat, however if I remove the "NON EMPTY" from the statement, the request succeeds. If I then add the "NON EMPTY" back in, the request continues to succeed. If the request fails (with "NON EMPTY" there) and then I remove the "NON EMPTY", the request continues to fail. --------- Here is the Distribute catalog (this stripped down version still reproduces the error): <Schema name="Distribute"> <Cube name="Flu"> <Table name="fact_observation_small"/> <Dimension name="Time" foreignKey="id_dateTimeRange" type="TimeDimension"> <Hierarchy primaryKey="id_dateTimeRange" hasAll="true"> <Table name="cdim_day"/> <Level name="Week" column="weekCdcEnding" uniqueMembers="false" levelType="TimeWeeks" type="String"/> <Level name="Day" column="day" uniqueMembers="false" levelType="TimeDays" type="String"/> </Hierarchy> </Dimension> <Measure name="Value" column="value" aggregator="sum" datatype="Numeric" formatString="#,###.####"/> </Cube> </Schema> -------- Stack trace: [JPivot] 11 Aug 2010 16:27:38,551 ERROR [Session ] mondrian.xmla.XmlaServlet#doPost: Errors when handling XML/A message mondrian.xmla.XmlaException: Mondrian Error:XMLA Execute unparse results error at mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:697) at mondrian.xmla.XmlaHandler.process(XmlaHandler.java:551) at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:426) at mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jsp.xmla_jsp._jspService(xmla_jsp.java:57) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCubeMember at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:569) at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:679) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176) at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:166) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:356) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:282) at mondrian.rolap.DelegatingRolapMember.getPropertyValue(DelegatingRolapMember.java:105) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.writeMember(XmlaHandler.java:2137) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axis(XmlaHandler.java:2107) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axes(XmlaHandler.java:1974) at mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.unparse(XmlaHandler.java:1784) at mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:690) ... 32 more

    Pentaho BI Platform Tracking | 6 years ago | Kim Goldov
    mondrian.xmla.XmlaException: Mondrian Error:XMLA Execute unparse results error
  3. 0

    When calling Member.getPropertyValue( property ) with certains properties the following error is thrown: java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember at mondrian.rolap.ScenarioImpl.forMember(ScenarioImpl.java:177) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:423) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:309) at mondrian.rolap.DelegatingRolapMember.getPropertyValue(DelegatingRolapMember.java:105) at mondrian.olap4j.MondrianOlap4jMember.getPropertyValue(MondrianOlap4jMember.java:161) at com.fuseanalytics.archiver.model.reports.OlapProperty.<init>(OlapProperty.java:22) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.toOlapProperties(OlapAxisResult.java:39) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.<init>(OlapAxisResult.java:31) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.addPath(OlapAxisResult.java:139) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.addPath(OlapAxisResult.java:132) at com.fuseanalytics.archiver.model.reports.OlapQueryResult.createAxis(OlapQueryResult.java:44) at com.fuseanalytics.archiver.model.reports.OlapQueryResult.<init>(OlapQueryResult.java:23) at com.fuseanalytics.archiver.model.AnalyticModel.execute(AnalyticModel.java:92) at com.fuseanalytics.archiver.controller.AnalyticsController.mdxQuery(AnalyticsController.java:144) 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.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:680) The following code results in the above error when used with any version on Mondrian after 3.4.0. Not all properties throw this error. It's only when the "$scenario" property is encountered that the following code breaks: this.properties = toOlapProperties(member, member.getProperties()); private List<OlapProperty> toOlapProperties(Member member, NamedList<Property> properties) throws OlapException { List<OlapProperty> olapProperties = new ArrayList<OlapProperty>( properties.size() ); for( Property property : properties ) { olapProperties.add( new OlapProperty( property, member ) ); } return olapProperties; } public OlapProperty(Property property, Member member) throws OlapException { this.property = property; value = member.getPropertyValue(property); formattedValue = member.getPropertyFormattedValue(property); } Expected: The property value is returned or no exception is thrown.

    Pentaho BI Platform Tracking | 4 years ago | Charlie Hubbard
    java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When calling Member.getPropertyValue( property ) with certains properties the following error is thrown: java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember at mondrian.rolap.ScenarioImpl.forMember(ScenarioImpl.java:177) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:423) at mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:309) at mondrian.rolap.DelegatingRolapMember.getPropertyValue(DelegatingRolapMember.java:105) at mondrian.olap4j.MondrianOlap4jMember.getPropertyValue(MondrianOlap4jMember.java:161) at com.fuseanalytics.archiver.model.reports.OlapProperty.<init>(OlapProperty.java:22) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.toOlapProperties(OlapAxisResult.java:39) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.<init>(OlapAxisResult.java:31) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.addPath(OlapAxisResult.java:139) at com.fuseanalytics.archiver.model.reports.OlapAxisResult.addPath(OlapAxisResult.java:132) at com.fuseanalytics.archiver.model.reports.OlapQueryResult.createAxis(OlapQueryResult.java:44) at com.fuseanalytics.archiver.model.reports.OlapQueryResult.<init>(OlapQueryResult.java:23) at com.fuseanalytics.archiver.model.AnalyticModel.execute(AnalyticModel.java:92) at com.fuseanalytics.archiver.controller.AnalyticsController.mdxQuery(AnalyticsController.java:144) 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.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:680) The following code results in the above error when used with any version on Mondrian after 3.4.0. Not all properties throw this error. It's only when the "$scenario" property is encountered that the following code breaks: this.properties = toOlapProperties(member, member.getProperties()); private List<OlapProperty> toOlapProperties(Member member, NamedList<Property> properties) throws OlapException { List<OlapProperty> olapProperties = new ArrayList<OlapProperty>( properties.size() ); for( Property property : properties ) { olapProperties.add( new OlapProperty( property, member ) ); } return olapProperties; } public OlapProperty(Property property, Member member) throws OlapException { this.property = property; value = member.getPropertyValue(property); formattedValue = member.getPropertyFormattedValue(property); } Expected: The property value is returned or no exception is thrown.

    Pentaho BI Platform Tracking | 4 years ago | Charlie Hubbard
    java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember
  6. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to

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

      mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCubeMember

      at mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren()
    2. mondrian.rolap
      DelegatingRolapMember.getPropertyValue
      1. mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMemberChildren(RolapCubeHierarchy.java:569)
      2. mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMemberChildren(RolapCubeHierarchy.java:679)
      3. mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:176)
      4. mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:166)
      5. mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:356)
      6. mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:282)
      7. mondrian.rolap.DelegatingRolapMember.getPropertyValue(DelegatingRolapMember.java:105)
      7 frames
    3. mondrian.xmla
      XmlaHandler.process
      1. mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.writeMember(XmlaHandler.java:2137)
      2. mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axis(XmlaHandler.java:2107)
      3. mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.axes(XmlaHandler.java:1974)
      4. mondrian.xmla.XmlaHandler$MDDataSet_Multidimensional.unparse(XmlaHandler.java:1784)
      5. mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:690)
      6. mondrian.xmla.XmlaHandler.process(XmlaHandler.java:551)
      6 frames
    4. mondrian.xmla.impl
      DefaultXmlaServlet.handleSoapBody
      1. mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:426)
      1 frame
    5. mondrian.xmla
      XmlaServlet.doPost
      1. mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:329)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      2 frames
    7. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      6 frames
    8. org.apache.jsp
      xmla_jsp._jspService
      1. org.apache.jsp.xmla_jsp._jspService(xmla_jsp.java:57)
      1 frame
    9. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    11. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      3 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      8 frames
    14. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    15. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame