java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Pentaho BI Platform Tracking by Charlie Hubbard, 1 year ago
mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember
via Pentaho BI Platform Tracking by Charlie Hubbard, 1 year ago
mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember
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.(OlapProperty.java:22)
at com.fuseanalytics.archiver.model.reports.OlapAxisResult.toOlapProperties(OlapAxisResult.java:39)
at com.fuseanalytics.archiver.model.reports.OlapAxisResult.(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.(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.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 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.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.