org.olap4j.OlapException: mondrian gave exception while executing query

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

Solutions on the web

via Pentaho BI Platform Tracking by Johan Cosemans, 1 year ago
mondrian gave exception while executing query
via Pentaho BI Platform Tracking by Murtaza Ghodawala, 1 year ago
mondrian gave exception while executing query
via Pentaho BI Platform Tracking by Dhwani Katagade, 1 year ago
mondrian gave exception while executing query
via Pentaho BI Platform Tracking by Dhwani Katagade, 1 year ago
mondrian gave exception while executing query
via Pentaho BI Platform Tracking by Benzouine Ayoub, 1 year ago
mondrian gave exception while executing query
java.lang.NullPointerException:
at mondrian.olap.fun.AggregateFunDef$AggregateCalc.dimensionJoinsToBaseCube(AggregateFunDef.java:552)
at mondrian.olap.fun.AggregateFunDef$AggregateCalc.canOptimize(AggregateFunDef.java:530)
at mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeMemberSet(AggregateFunDef.java:487)
at mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeChildren(AggregateFunDef.java:396)
at mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeTupleList(AggregateFunDef.java:250)
at mondrian.rolap.RolapResult.(RolapResult.java:351)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:500)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:45)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:448)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:446)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

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