<?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 : Null Reference Exception</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Null Reference Exception</description>
  <pubDate>Mon, 13 Apr 2026 11:15:11 -700</pubDate>
  <lastBuildDate>Mon, 13 Jun 2011 18:03:40 -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=2763</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>Null Reference Exception :   Never mind, I got this resolved....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2763&amp;PID=10972#10972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2763<br /><strong>Posted:</strong> 13-Jun-2011 at 6:03pm<br /><br />Never mind, I got this resolved.&nbsp; It seems that it was not properly added to a EntityManager.&nbsp; After call EntityManager.AddEntity(), it no longer gave this error.<div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Mon, 13 Jun 2011 18:03:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2763&amp;PID=10972#10972</guid>
  </item> 
  <item>
   <title>Null Reference Exception :    I am getting a null reference...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2763&amp;PID=10970#10970</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2763<br /><strong>Posted:</strong> 13-Jun-2011 at 5:00pm<br /><br /> <div>I am getting a null reference exception, but I can't figure out what is going on.&nbsp; The below is the stack trace.&nbsp; In the Debug Windows, it shows that the Property "LastSynchronized" is being set.&nbsp;&nbsp;&nbsp; The below line is what is shown in the Debug Windows, from the IB.Designer.cs file. &nbsp;But neither "this" nor "Value" is null.</div><div><font size="2" face="C&#111;nsolas"></font>&nbsp;</div><div><p><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">set</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> { </font></font><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas">PropertyMetadata</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">.LastSynchronized.SetValue(</font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">this</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">, </font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">value</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">); }</font></font></p><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"></font></font></div><div></div><div></div>at IdeaBlade.EntityModel.EntityWrapper.SetValueWithChangeNotification(DataEntityProperty property, Object newValue)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityWrapper.IdeaBlade.EntityModel.IStructuralObject.SetValueWithChangeNotification(DataEntityProperty property, Object newValue)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.SetValueWithVerification(TInstance instance, TValue newValue)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.&lt;.ctor&gt;b__4(DataEntityPropertySetInterceptorArgs`2 args)<br>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.HandleAction(Action`1 action, TArgs args)<br>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.&lt;BuildTargetedCombinedAction&gt;b__3(TArgs args)<br>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.ExecuteActions(TArgs args)<br>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.SetValue(TInstance instance, Object context, TValue value)<br>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.SetValue(TInstance instance, TValue value)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.SetValue(TInstance instance, TValue value)<br>&nbsp;&nbsp; at Jet.Models.EmailFolderEntity.set_LastSynchronized(Nullable`1 value)<br>&nbsp;&nbsp; at Jet.Views.EmailViewModel.RefreshFolder_Completed(Object sender, InvokeServerMethodEventArgs e)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.BaseOperation`2.OnCompleted()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.BaseOperation`2.IdeaBlade.EntityModel.IHasAsyncEventArgs.OnCompleted()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.AsyncProcessor`1.&lt;&gt;c__DisplayClass2.&lt;.ctor&gt;b__0(TArgs args)<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.AsyncProcessor`1.Signal()<br>&nbsp;&nbsp; at IdeaBlade.EntityModel.AsyncProcessor`1.&lt;Execute&gt;b__5(Object x)]]>
   </description>
   <pubDate>Mon, 13 Jun 2011 17:00:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2763&amp;PID=10970#10970</guid>
  </item> 
 </channel>
</rss>