<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Error in cache query</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : Error in cache query</description>
  <pubDate>Sat, 11 Apr 2026 17:54:25 -700</pubDate>
  <lastBuildDate>Fri, 09 Nov 2012 12:17:49 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3782</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Error in cache query :   I&amp;#039;m not able to reproduce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15167#15167</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3782<br /><strong>Posted:</strong> 09-Nov-2012 at 12:17pm<br /><br />I'm not able to reproduce a scenario where the&nbsp;visitor is ever receiving a null Expression argument in this method, so I'm afraid I'm&nbsp;going to need to see the code for how you build up this query.&nbsp; If you don't wish to post it here you can PM or email me.]]>
   </description>
   <pubDate>Fri, 09 Nov 2012 12:17:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15167#15167</guid>
  </item> 
  <item>
   <title>Error in cache query : Selector: System.Func&amp;lt;Syste...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15159#15159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 3782<br /><strong>Posted:</strong> 08-Nov-2012 at 6:20pm<br /><br />Selector:&nbsp;&nbsp; System.Func&lt;System.Linq.IQueryable&lt;RefundTrac.Model.RefundQueue&gt;,System.Linq.IQueryable&lt;RefundTrac.Model.Projections.RefundListItem&gt;&gt;<br><br>Predicate:<br>u =&gt; ((True AndAlso u.Refund.TaxAccountNumber.Contains(value(RefundTrac.DomainServices.Services.Queue.QueueSearchService+&lt;&gt;c__DisplayClass2).str)) AndAlso (u.UserId == value(RefundTrac.ViewModels.Queue.QueueSearchViewModel).User.UserId))}&nbsp;&nbsp;&nbsp; System.Linq.Expressions.Expression&lt;System.Func&lt;RefundTrac.Model.RefundQueue,bool&gt;&gt;<br><br>Final query<br><br>value(IdeaBlade.EntityModel.EntityQueryProxy`1&#091;RefundTrac.Model.RefundQueue&#093;).Where(u =&gt; ((True AndAlso u.Refund.TaxAccountNumber.Contains(value(RefundTrac.DomainServices.Services.Queue.QueueSearchService+&lt;&gt;c__DisplayClass2).str)) AndAlso (u.UserId == value(RefundTrac.ViewModels.Queue.QueueSearchViewModel).User.UserId))).Select(q =&gt; q.Refund).Select(q =&gt; new RefundListItem() {RefundId = q.RefundId, Amount = q.Amount, Status = q.RefundStatus, Step = q.CurrentStep, RefundType = q.RefundType, TaxAccount = q.TaxAccountNumber, CreateDate = q.CreateDate, PayeeName = IIF(q.RefundPayees.Any(), q.RefundPayees.FirstOrDefault().Name1, "Unassigned"), LastUser = IIF(q.RefundAudits.Any(), q.RefundAudits.OrderByDescending(a =&gt; a.AuditDate).Select(a =&gt; a.AuditUser).FirstOrDefault(), String.Empty), LastUpdate = IIF(q.RefundAudits.Any(), q.RefundAudits.OrderByDescending(a =&gt; a.AuditDate).Select(a =&gt; Convert(a.AuditDate)).FirstOrDefault(), null)})}&nbsp;&nbsp;&nbsp; IdeaBlade.EntityModel.IEntityQuery&lt;RefundTrac.Model.Projections.RefundListItem&gt; {IdeaBlade.EntityModel.EntityQuery&lt;RefundTrac.Model.Projections.RefundListItem&gt;<br><br>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 18:20:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15159#15159</guid>
  </item> 
  <item>
   <title>Error in cache query :   Do you have a snippet of your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15158#15158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3782<br /><strong>Posted:</strong> 08-Nov-2012 at 5:57pm<br /><br />Do you have a snippet of your query?]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 17:57:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15158#15158</guid>
  </item> 
  <item>
   <title>Error in cache query :    Not sure why this is happening...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15157#15157</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 3782<br /><strong>Posted:</strong> 08-Nov-2012 at 3:03pm<br /><br />Not sure why this is happening yet but I've found an exception when querying cache. The problem is in CacheQueryExpressionVisitor<br><br>me = String.Empty<br>expr = null<br><br>I've never seen this before as we usually search against the database - this time it is in cache. If I make it go to the datasource, it works fine. <br><br><img src="uploads/449/crash.png" height="427" width="1193" border="0" /><br><span style="font-size:10px"><br /><br />Edited by smi-mark - 08-Nov-2012 at 3:06pm</span>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 15:03:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3782&amp;PID=15157#15157</guid>
  </item> 
 </channel>
</rss>