<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:Arial;
        text-transform:uppercase;
        font-weight:bold;}
p.MsoToc2, li.MsoToc2, div.MsoToc2
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:12.0pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Arial;
        font-variant:small-caps;}
p.MsoToc3, li.MsoToc3, div.MsoToc3
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:24.0pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
code
        {font-family:"Courier New";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 50.4pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1484813812;
        mso-list-template-ids:-962556982;}
@list l1
        {mso-list-id:1691300505;
        mso-list-type:hybrid;
        mso-list-template-ids:-1694740774 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</STYLE>
</HEAD>
<BODY lang=RU vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=827265920-10072007><FONT face=Verdana 
color=#000080 size=2>This is bug 1735821, which was fixed in change 
9455.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=827265920-10072007><FONT face=Verdana 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=827265920-10072007><FONT face=Verdana 
color=#000080 size=2>I will add that query as a testcase,&nbsp;because the 
testcase for that change didn't check the tuple constructor operator '(...)', 
only the 'item.(...)' function.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=827265920-10072007><FONT face=Verdana 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=827265920-10072007><FONT face=Verdana 
color=#000080 size=2>Julian</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> mondrian-bounces@pentaho.org 
  [mailto:mondrian-bounces@pentaho.org] <B>On Behalf Of </B>Anton 
  Nikitin<BR><B>Sent:</B> Tuesday, July 10, 2007 10:53 AM<BR><B>To:</B> 
  'Mondrian developer mailing list'<BR><B>Subject:</B> [Mondrian] Bug with tuple 
  function?<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Probably another one 
  error&#8230;<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">with 
  <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">member 
  [Product].[Test] as '([Product].[Food],Dimensions(0).defaultMember)' 
  <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">select 
  <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">{[Product].[Test], 
  [Product].[Food]} on columns, <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">{[Measures].[Store 
  Sales]} on rows <o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">from 
  Sales<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Got 
  NullPointerException (MSAS 2000 works):<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">java.lang.NullPointerException<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.olap.type.TupleType.getValueType(TupleType.java:57)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.calc.impl.AbstractExpCompiler.compileScalar(AbstractExpCompiler.java:238)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.olap.Query.compileExpression(Query.java:981)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapEvaluator$RolapEvaluatorRoot.getCompiled(RolapEvaluator.java:170)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapEvaluator.evaluateCurrent(RolapEvaluator.java:422)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapResult.executeStripe(RolapResult.java:863)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapResult.executeStripe(RolapResult.java:940)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapResult.executeStripe(RolapResult.java:940)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapResult.executeBody(RolapResult.java:766)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapResult.&lt;init&gt;(RolapResult.java:390)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.rolap.RolapConnection.execute(RolapConnection.java:410)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.web.servlet.MDXQueryServlet.processRequest(MDXQueryServlet.java:86)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mondrian.web.servlet.MDXQueryServlet.doGet(MDXQueryServlet.java:228)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<o:p></o:p></SPAN></FONT></PRE><PRE><FONT face="Courier New" size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:595)<o:p></o:p></SPAN></FONT></PRE>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Anton<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>