[Mondrian] RolapMember causes ClassCastException in compare()

Julian Hyde jhyde at pentaho.com
Wed May 14 10:18:57 EDT 2008


Mondrian uses SourceForge for bug tracking. Please log a bug at
http://sourceforge.net/tracker/?group_id=35302
<http://sourceforge.net/tracker/?group_id=35302&atid=414613> &atid=414613
even though this is a nightly build, not an official release. Provide a test
case if possible.
 
Julian


  _____  

From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Luc Boudreau
Sent: Wednesday, May 14, 2008 7:14 AM
To: mondrian at pentaho.org; Will Gorman; jhyde at pentaho.org
Subject: [Mondrian] RolapMember causes ClassCastException in compare()


Hi,

This bug relates to mondrian 3.0.3.11016. There is an exception which occurs
in RolapMember.compare(), line 713 in 3.0.3.11016. This particular version
was checked in Pentaho BI server trunk and causes the following problem.

The compare() method may try to cast object key (byte[]) into Comparable
implementations, which causes the class cast exception. I suggest converting
byte array keys to String objects before comparaison.

I did not find any Jira project related to Mondrian on the Pentaho official
jira, so I'm sending the notification to you all in hope this could be fixed
fairly quickly.

-- 
_____________________________
Luc Boudreau 

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


More information about the Mondrian mailing list