Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Configuring roles and rollupPolicy="partial" and running a query MDX with that roles we obtain the following NullPointerException.

      ERROR com.tonbeller.wcf.controller.RequestFilter - Error handling request
      java.lang.NullPointerException
      at mondrian.olap.RoleImpl.getAccess(RoleImpl.java:312)
      at mondrian.olap.UnionRoleImpl$UnionHierarchyAccessImpl.getAccess(UnionRoleImpl.java:167)
      at mondrian.rolap.RolapHierarchy$LimitedRollupSubstitutingMemberReader.substitute(RolapHierarchy.java:936)
      at mondrian.rolap.SubstitutingMemberReader.getMemberParent(SubstitutingMemberReader.java:183)
      at mondrian.rolap.RolapSchemaReader.getMemberParent(RolapSchemaReader.java:111)
      at mondrian.olap.DelegatingSchemaReader.getMemberParent(DelegatingSchemaReader.java:52)
      ..............

      cube definition is:
      <Role name="FOO">
      <SchemaGrant access="none">
      <CubeGrant cube="Vendite" access="all">
      <HierarchyGrant hierarchy="[Funz. anag.]" access="custom" rollupPolicy="partial" >
      <MemberGrant member="[Funz. anag.].[Funz. anag.].[ALFA]" access="all"/>
      <MemberGrant member="[Funz. anag.].[Funz. anag.].[BETA]" access="all"/>
      </HierarchyGrant >
      </CubeGrant >
      </SchemaGrant>
      </Role>

      Many thanks
      claudio.masini@quix.it

        Attachments

          Activity

            People

            • Assignee:
              jhyde Julian Hyde (Inactive)
              Reporter:
              Former Triage User Old Triage User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: