<?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 : Fatal error in 6.0.7</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Fatal error in 6.0.7</description>
  <pubDate>Sun, 12 Apr 2026 00:24:37 -700</pubDate>
  <lastBuildDate>Mon, 13 Dec 2010 09:42:18 -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=2370</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>Fatal error in 6.0.7 : Sorry you&amp;#039;ve run into this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2370&amp;PID=9383#9383</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> 2370<br /><strong>Posted:</strong> 13-Dec-2010 at 9:42am<br /><br />Sorry you've run into this problem.&nbsp; You'll only get this error if using the ObjectDataSource with a PageSize of 0.&nbsp; This indicates that paging is not wanted and the underlying view used is the SL PagedCollectionView instead of the DevForce EntityQueryPagedCollectionView.&nbsp; <DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>The workaround until the problem is fixed is to either turn on paging by setting a non-zero PageSize, or to add a dummy FilterDescriptor.&nbsp; &nbsp; </DIV>]]>
   </description>
   <pubDate>Mon, 13 Dec 2010 09:42:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2370&amp;PID=9383#9383</guid>
  </item> 
  <item>
   <title>Fatal error in 6.0.7 : Please make patch for v6.0.7 .... NullRefException...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2370&amp;PID=9374#9374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1024" rel="nofollow">jocker1331</a><br /><strong>Subject:</strong> 2370<br /><strong>Posted:</strong> 11-Dec-2010 at 5:41am<br /><br />Please make patch for v6.0.7 ....<br><table width="99%"><tr><td><pre class="BBcode"><br>NullRefException in<br>&nbsp;&nbsp; в IdeaBlade.Linq.PredicateBuilder.FilterQuery(IQueryable baseQuery, IPredicateDescription predicateDescription)<br>&nbsp;&nbsp; в IdeaBlade.Windows.ObjectDataSource.GetFilteredQuery()<br>&nbsp;&nbsp; в IdeaBlade.Windows.ObjectDataSource.LoadView()<br>&nbsp;&nbsp; в IdeaBlade.Windows.ObjectDataSource.LoadCore()<br>&nbsp;&nbsp; в IdeaBlade.Windows.ObjectDataSource.Load()<br>&nbsp;&nbsp; в CivilizationWeb.Views.TaskList.OnNavigatedTo(NavigationEventArgs e)<br>&nbsp;&nbsp; в System.Windows.Controls.Page.InternalOnNavigatedTo(NavigationEventArgs e)<br>&nbsp;&nbsp; в System.Windows.Navigation.NavigationService.RaiseNavigated(Object content, Uri uri, Page existingContentPage, Page newContentPage)<br>&nbsp;&nbsp; в System.Windows.Navigation.NavigationService.CompleteNavigation(DependencyObject content)<br>&nbsp;&nbsp; в System.Windows.Navigation.NavigationService.ContentLoader_BeginLoad_Callback(IAsyncResult result)<br></pre></td></tr></table><br>//If you use DomainDatasource without filters.<br><br>See comments in code (Reflected):<br><table width="99%"><tr><td><pre class="BBcode"><br>//souce:IdeaBlade.Linq.PredicateBuilder<br>public static IQueryable FilterQuery(IQueryable baseQuery, IPredicateDescription predicateDescription)<br>{<br>&nbsp;&nbsp;&nbsp; Type genericArgument = TypeFns.GetGenericArgument(baseQuery.GetType());<br>&nbsp;&nbsp;&nbsp; Expression expression = Expression.Call(typeof(Queryable), "Where", new Type&#091;&#093; { genericArgument }, new Expression&#091;&#093; { Expression.Constant(baseQuery), predicateDescription.ToLambdaExpression() }); //predicateDescription _CAN_ be null<br>&nbsp;&nbsp;&nbsp; return baseQuery.Provider.CreateQuery(expression);<br>}<br><br>// source: IdeaBlade.Windows.ObjectDataSource<br>private IPredicateDescription GetQueryFilter()<br>{<br>&nbsp;&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List&lt;PredicateDescription&gt; list = new List&lt;PredicateDescription&gt;();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (FilterDescriptor descriptor in this.FilterDescriptors)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PredicateDescription item = descriptor.ToPredicateDescription(this.Query.ElementType);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (item != null)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; list.Add(item);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (list.Count &gt; 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return PredicateBuilder.And(list.ToArray());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return null; ///!!!!<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; catch (Exception exception)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TraceFns.WriteLine("Filters ignored: " + exception.Message);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>&nbsp;<br><br><br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Sat, 11 Dec 2010 05:41:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2370&amp;PID=9374#9374</guid>
  </item> 
 </channel>
</rss>