OLAP Navigator throws exception if the initial view is empty
Brought to you by:
avix
Summary :
If the initial view is empty then if you bring
OLAP navigator to change measures throws an exception.
Details:
Lets say you have a view which has NON EMTPY
condition on both columns and rows and it has a
slicer. When you go the view, it doesn’t return any
data due to slicer and because we have NON EMPTY
condition, it doesn’t even display an empty pivot
table. Now if you open OLAP Navigator and tries to
add a measure to a row and hit OK. This is will throw
NPE in canCollapse method in MondrianQueryAdapter
Version :
Happens in both 1.3 and in 1.5