[Mondrian] NPE with slicers

Tiago Santos tiago.santos at cortex-intelligence.com
Thu May 29 06:24:37 EDT 2014


Thanks for the reply.

Here is the ticket
http://jira.pentaho.com/browse/MONDRIAN-2095




2014-05-28 21:13 GMT+01:00 Matt Campbell <mcampbell at pentaho.com>:

> Definitely looks like a bug, and I don't see anything similar logged.
> Somewhat similar to MONDRIAN-1403, but that one involves calc members from
> another dimension, not a calc measure.  Mind creating a Jira ticket?
>
>
>
>
>
> *From:* mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org]
> *On Behalf Of *Tiago Santos
> *Sent:* Wednesday, May 28, 2014 2:50 PM
> *To:* mondrian at pentaho.org
> *Subject:* [Mondrian] NPE with slicers
>
>
>
>
> Greetings,
>
>
>
> I believe I've come across to a Bug in mondrian 3.6.
>
> If I try to crossjoin a calculated member with some Set in slicer it
> throws NPE.
>
>
>
> Here is the stacktrace for mondrian 3.6.7
>
>
>
> Caused by: java.lang.NullPointerException
>
>         at
> mondrian.olap.fun.AggregateFunDef$AggregateCalc.dimensionJoinsToBaseCube(AggregateFunDef.java:518)
>
>         at
> mondrian.olap.fun.AggregateFunDef$AggregateCalc.canOptimize(AggregateFunDef.java:494)
>
>         at
> mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeMemberSet(AggregateFunDef.java:451)
>
>         at
> mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeChildren(AggregateFunDef.java:356)
>
>         at
> mondrian.olap.fun.AggregateFunDef$AggregateCalc.optimizeTupleList(AggregateFunDef.java:210)
>
>         at mondrian.rolap.RolapResult.<init>(RolapResult.java:361)
>
>         at
> mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:671)
>
>
>
> The following mdx exploits the issue
>
>
>
> WITH
>
> MEMBER [Measures].[Dummy] AS '1'
>
> SELECT
>
> FROM [Sales]
>
> WHERE CrossJoin({[Measures].[Dummy]}, {[Gender].[Gender].Members})
>
>
>
> --
>
> Tiago
>
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
>
>


-- 

Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20140529/17d67322/attachment.html 


More information about the Mondrian mailing list