Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: NullPointerException configuring a role in Pentaho - Jpivot - Mondrian

  1. #1
    Join Date
    Jan 2007

    Default NullPointerException configuring a role in Pentaho - Jpivot - Mondrian

    Hi, i am trying to configure a mondrian role in pentaho bi-server 3.10 like this:

    <Role name="pu103">
    <SchemaGrant access="none">
    <CubeGrant cube="sales_2011" access="all">
    <HierarchyGrant hierarchy="[Seller]" topLevel="[Seller].[Seller]" access="custom">
    <MemberGrant member="[Seller].[103]" access="all">

    so if i access report without Seller dimension and logged as pu103, results are shown fine and Seller dimension is ok as a filter, but when i
    want to show seller dimension in table, i am getting this:

    Caused by: java.lang.NullPointerException
    at com.tonbeller.jpivot.mondrian.MondrianMember.<init>(
    at com.tonbeller.jpivot.mondrian.MondrianModel.addMember(
    at com.tonbeller.jpivot.mondrian.MondrianResult.initData(
    at com.tonbeller.jpivot.mondrian.MondrianResult.<init>(
    at com.tonbeller.jpivot.mondrian.MondrianModel.getResult(
    at com.tonbeller.jpivot.olap.model.OlapModelDecorator.getResult(

    at com.tonbeller.jpivot.olap.model.CachingOlapModel.getResult(
    at com.tonbeller.jpivot.olap.model.OlapModelDecorator.getResult(

    at com.tonbeller.jpivot.table.TableComponent.updateOlapModel(
    at com.tonbeller.jpivot.table.TableComponent.render2(
    at com.tonbeller.jpivot.table.TableComponent.render(
    at com.tonbeller.wcf.component.RendererTag.doEndTag(
    ... 75 more

    if i remove topLevel from role configuration and add rollupPolicy="partial", i can see Seller dimension,
    but rollupPolicy has not effect, as if was "full"

    looking jpivot source code in MondrianMember constructor , level is arriving null from mondrian, so

    there is a solution for this?, someone has the same problem?


  2. #2
    Join Date
    Feb 2013


    I'm facing the same problem now. Did you find a solution?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.