Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Attrib hideMemberIf broken in JPivot

  1. #1
    Join Date
    May 2006
    Posts
    2

    Default Attrib hideMemberIf broken in JPivot

    When using "drill Member" with level-style=true on a
    Dimension where a Level has the attribute
    "hideMemberIf" set to "IfBlankName" and the
    corresponding member is empty (null) the following
    Exception is thrown:
    Code:
    [JPivot] 25 Sep 2006 14:09:05,281 ERROR [Session
    301F7F7B2C9162D8A8CC651991260F13]
    com.tonbeller.wcf.component.RendererTag#doEndTag: trouble rendering table02
    java.lang.NullPointerException
      at com.tonbeller.jpivot.mondrian.MondrianMemberTree.getParent(MondrianMemberTree.java:201)
      at com.tonbeller.jpivot.table.LevelAxisDecorator.addParents(LevelAxisDecorator.java:124)
      at com.tonbeller.jpivot.table.LevelAxisDecorator.makePosition(LevelAxisDecorator.java:108)
      at com.tonbeller.jpivot.table.LevelAxisDecorator.makePositions(LevelAxisDecorator.java:98)
      at com.tonbeller.jpivot.table.LevelAxisDecorator.<init>(LevelAxisDecorator.java:64)
      at com.tonbeller.jpivot.table.AxisBuilderSupport.initialize(AxisBuilderSupport.java:88)
      at com.tonbeller.jpivot.table.AxisBuilderSupport.startBuild(AxisBuilderSupport.java:229)
      at com.tonbeller.jpivot.table.TableComponent.startBuild(TableComponent.java:190)
      at com.tonbeller.jpivot.table.TableComponent.render2(TableComponent.java:258)
      at com.tonbeller.jpivot.table.TableComponent.render(TableComponent.java:234)
      at com.tonbeller.wcf.component.RendererTag.doEndTag(RendererTag.java:137)
      at _jasper._statistic_jsp._jspService(_statistic_jsp.java:1177)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
      at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
      at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
      at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
      at com.tonbeller.wcf.controller.RequestSynchronizer.handleRequest(RequestSynchronizer.java:127)
      at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:263)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:153)
      at com.iplanet.ias.web.WebContainer.service(WebContainer.java:597)
    Dimension is defined as follows:

    Code:
    <Dimension name="Signature" foreignKey="SIGNATUREID" caption="Auftrag">
      <Hierarchy name="ByTypegroup" hasAll="true" primaryKey="ID" caption="Auftragsart nach Gruppe" allLevelName="(Alle)" allMemberCaption="gesamt">
        <Table name="SIGNATUREDIMENSION"/>
        <Level name="Typegroup" column="TYPEGROUP" type="String" uniqueMembers="true" caption="Auftragsgruppe"/>
        <Level name="Type" column="TYPE" type="String" uniqueMembers="true" caption="Auftragsart"/>
        <Level name="Mark" column="MARK" type="String" hideMemberIf="IfBlankName" caption="Ergänzung"/>
        <Level name="State" column="STATE" type="String" caption="Auftragszustand"/>
      </Hierarchy>
    </Dimension>
    Post edited by: kaycee80, at: 2006/11/15 09:11

  2. #2
    Join Date
    May 2006
    Posts
    2

    Default Re:Attrib hideMemberIf broken in JPivot

    anyone?

  3. #3
    Join Date
    Nov 1999
    Posts
    579

    Default Re:Attrib hideMemberIf broken in JPivot

    Without knowing what version of the platform you're using, we can't give you the assistance you're looking for.

    Please see http://forums.pentaho.org/showthread.php?t=26490

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.