PDA

View Full Version : Attrib hideMemberIf broken in JPivot



kaycee80
10-26-2006, 06:58 AM
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:


[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:



<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

kaycee80
11-15-2006, 05:12 AM
anyone?

mbatchelor
11-15-2006, 05:32 PM
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