[Mondrian] RE: ClassCastException occurs

Julian Hyde jhyde at pentaho.com
Thu Sep 9 17:17:39 EDT 2010


Sakthivel,
 
I have re-opened the jira case. Can you please add your case details to the
case. Also please document your property settings.
 
Julian


  _____  

From: Sakthivel.P [mailto:p.stivel at gmail.com] 
Sent: Thursday, September 09, 2010 8:08 AM
To: jhyde at pentaho.com
Cc: sergey.mazin at skype.net
Subject: ClassCastException occurs


Ref :
http://jira.pentaho.com/browse/MONDRIAN-762?page=com.atlassian.jira.plugin.s
ystem.issuetabpanels%3Acomment-tabpanel#issue-tabs

With refer the above issue, I am getting same exception while running
mondrian. Full stack trace attached. This exception occurs while expanding
time dimension ( month ).

Caused by: java.lang.ClassCastException: mondrian.rolap.RolapMemberBase
cannot be cast to mondrian.rolap.RolapCubeMember
        at
mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.readMe
mberChildren(RolapCubeHierarchy.java:569)
        at
mondrian.rolap.RolapCubeHierarchy$CacheRolapCubeHierarchyMemberReader.getMem
berChildren(RolapCubeHierarchy.java:679)
        at
mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:17
6)
        at
mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:16
6)
        at
mondrian.rolap.RolapMemberBase.getPropertyValue(RolapMemberBase.java:356)


the following is the dimension

<Dimension name="Time" type="TimeDimension">
    <Hierarchy hasAll="true" allMemberName="All Periods"
primaryKey="DATE_ID">
        <Table name="RWDATE"/>
        <Level name="Year" column="THE_YEAR" type="Numeric"
uniqueMembers="true" levelType="TimeYears"/>
        <Level name="Month" column="MONTH_OF_YEAR" uniqueMembers="false"
ordinalColumn="MONTH_OF_YEAR" nameColumn="THE_MONTH" levelType="TimeMonths"
type="Numeric"/>
        <Level name="Day" column="DAY_OF_MONTH" uniqueMembers="false"
levelType="TimeDays" type="Numeric" />
    </Hierarchy>
</Dimension>

regards
sakthivel



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100909/b4ebe33d/attachment.html 


More information about the Mondrian mailing list