<?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 : Strange null reference</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Strange null reference</description>
  <pubDate>Sun, 28 Jun 2026 08:37:02 -700</pubDate>
  <lastBuildDate>Tue, 21 Jun 2011 19:17:24 -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=2714</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>Strange null reference : Hi midnit;Thank you. I really...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11067#11067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 21-Jun-2011 at 7:17pm<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi midnit;<div><br></div><div>Thank you. I really appreciate your time on this. This is certainly more info than before.&nbsp;</div><div><br></div><div>You said that to get the error, you just refresh the page over and over. Did you have any initial query to populate the grid on a page? If so, what kind of query?</div></div>]]>
   </description>
   <pubDate>Tue, 21 Jun 2011 19:17:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11067#11067</guid>
  </item> 
  <item>
   <title>Strange null reference : I&amp;#039;m not getting anything....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11002#11002</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=531" rel="nofollow">midnit</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 16-Jun-2011 at 12:31pm<br /><br />I'm not getting anything. <DIV>&nbsp;</DIV><DIV>I do remember that if I returned a collection of entities that had a navigation property in an IPrincipal (in this case from my login manager) it would lead to the error. I believe if I removed the navigation property I did not have the problem or if I created a custom object (my final soluction) to fill the collection there was no problem. There was no specific item that triggered the exception that I could track down. It could have been related to checking IsInRole (which did not linq on that collection)&nbsp;but I had nothing that directly accessed the navigation property that was throwing the null exception. Also at the time of error if you inspect the value that just threw the exception...it was NOT null. To get the error I would just refresh the page over and over until it eventually threw the error. On each row it would check IsInRole which is in that code I included above. I was calling the </DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td class="BBquote"></DIV><DIV><DIV>public bool IsInRole(string componentCode)</DIV><DIV>{</DIV><DIV>//<strong>TODO: revisit</DIV></strong><DIV>return (from item in Components where string.Concat(item.SecAppCatCd + item.SecAppComp).ToUpper() == componentCode.ToUpper() select item).FirstOrDefault().IsNotNull();</DIV><DIV>}</DIV></DIV><DIV></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Sorry I dropped this...</DIV><span style="font-size:10px"><br /><br />Edited by midnit - 16-Jun-2011 at 12:32pm</span>]]>
   </description>
   <pubDate>Thu, 16 Jun 2011 12:31:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11002#11002</guid>
  </item> 
  <item>
   <title>Strange null reference : Ugh, I feel really bad about this....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11001#11001</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=531" rel="nofollow">midnit</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 16-Jun-2011 at 12:15pm<br /><br />Ugh, I feel really bad about this. I tracked down the issue and had a sample to reproduce it.<DIV>&nbsp;</DIV><DIV>My computer failed since then and since I had fixed our app when I was done rebuilding my computer I forgot all about this problem. That sample was on the old PC and I can't remember the specifics. I am going over my source control history to see if I can find the source that had the problem and maybe it will refresh my memory.</DIV>]]>
   </description>
   <pubDate>Thu, 16 Jun 2011 12:15:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11001#11001</guid>
  </item> 
  <item>
   <title>Strange null reference : Hi midnit;Just want to follow...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11000#11000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 16-Jun-2011 at 12:02pm<br /><br />Hi midnit;<div><br></div><div>Just want to follow up on this to see if you'll be able to provide the information above. It will greatly help me track down this curious bug. Thanks!</div>]]>
   </description>
   <pubDate>Thu, 16 Jun 2011 12:02:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=11000#11000</guid>
  </item> 
  <item>
   <title>Strange null reference : Hi midnit;Would you be able to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10870#10870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 31-May-2011 at 12:29pm<br /><br />Hi midnit;<div><br></div><div>Would you be able to upload your debug log during a failed run? I have created test cases with a similar LoginManager and a Principal object structure but I still would like to know what kind of operation that we're doing on the client that will trigger the exception. Thanks.</div>]]>
   </description>
   <pubDate>Tue, 31 May 2011 12:29:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10870#10870</guid>
  </item> 
  <item>
   <title>Strange null reference : Thanks for the update and files...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10835#10835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 26-May-2011 at 11:39am<br /><br />Thanks for the update and files midnit. I'll get back to you once I have more info/questions.]]>
   </description>
   <pubDate>Thu, 26 May 2011 11:39:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10835#10835</guid>
  </item> 
  <item>
   <title>Strange null reference : Ok, it appears that I can stop...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10831#10831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=531" rel="nofollow">midnit</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 26-May-2011 at 4:37am<br /><br />Ok, it appears that I can stop it from happening. Being random I can't say for sure but I spent 10 minutes in the app with no issue (usually takes about 1-2 minutes to occur). <DIV>&nbsp;</DIV><DIV>I have a temp principal object I am working with and for testing I had added an IEnumerable of SecUserPrivilege. When a user (SecAppUser) in the LoginManager and then I was setting GcsPrincipal.Privileges = user.SecUserPrivileges. If I build this collection (using say a privilege class)&nbsp;rather then using the navigation I do not get the null reference. Does that make sense?</DIV><DIV>&nbsp;</DIV><DIV>I have attached (or am going to try to) a zip with the loginmanager and the model. There are no partials on the model. The loginmanager as included does not erro, but I commented the line that would make it throw the randomness.</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.ideablade.com/forum/uploads/531/nullreference.zip" target="_blank">uploads/531/nullreference.zip</A></DIV>]]>
   </description>
   <pubDate>Thu, 26 May 2011 04:37:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10831#10831</guid>
  </item> 
  <item>
   <title>Strange null reference : I can provide these items. In...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10830#10830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=531" rel="nofollow">midnit</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 26-May-2011 at 4:04am<br /><br />I can provide these items. In our implementation it is strictly a standard model, nothing security specific though these items are used in the LoginManager to perform login and for passing the privileges. In fact...I think I remember when this started cropping up, I will revisist the code changes and see if I can make it stop.<DIV></DIV><DIV>&nbsp;</DIV><DIV>I will follow up shortly.</DIV>]]>
   </description>
   <pubDate>Thu, 26 May 2011 04:04:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10830#10830</guid>
  </item> 
  <item>
   <title>Strange null reference :  Hi midnit;You&amp;#039;re the 3rd...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10823#10823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 25-May-2011 at 4:23pm<br /><br />Hi midnit;<div><br></div><div>You're the 3rd customer who has experienced this specific random errors. Unfortunately, we're still unable to repro even after using clues from the previous 2 reported issues. Fortunately, there was a workaround (or two).</div><div><br></div><div>The first issue can be read here.&nbsp;<a href="http://www.ideablade.com/forum/forum_posts.asp?TID=1885" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=1885</a>. In this particular case, the workaround was to refactor out the IPrincipal, IIdentity interface to using DevForce UserBase class. For example,</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>public partial class User : IbEm.Entity, IPrincipal, IIdentity</div><div><br></div><div>to</div><div><br></div><div>public partial class User : IbEm.Entity, IdeaBlade.EntityModel.UserBase</div><div></pre></td></tr></table></div><div><br></div><div>The second issue was sent through the support web form so it's not available to be shared. But in that particular case, the customer's workaround was to remove his custom LoginManager entirely.</div><div><br></div><div>So with that said, I'm hoping your case can provide more clues so we can repro and pin this down. The previous 2 cases (and your case?), seem to point that the problem is somewhere within the security model. Would you be able to provide the implementation of your SecAppUser class and the class this property is defined on? And so far, are you seeing the exception on this property only?</div><span style="font-size:10px"><br /><br />Edited by DenisK - 25-May-2011 at 5:52pm</span>]]>
   </description>
   <pubDate>Wed, 25 May 2011 16:23:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10823#10823</guid>
  </item> 
  <item>
   <title>Strange null reference : I have a random error popping...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10818#10818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=531" rel="nofollow">midnit</a><br /><strong>Subject:</strong> 2714<br /><strong>Posted:</strong> 25-May-2011 at 5:12am<br /><br />I have a random error popping up in my model.<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>///</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas> </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;summary&gt;</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>Gets or sets the SecAppUser. </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;/summary&gt;</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>&#091;</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>Bindable</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>false</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><DIV>&#091;</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>Display</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(Name=</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"SecAppUser"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, AutoGenerateField=</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>false</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</DIV><P>&#091;</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>DataMember</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&#093;</P><P>&#091;IbEm.</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>RelationProperty</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"SecAppUser_SecUserPrivilege"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, IbEm.</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>QueryDirection</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.ToRole2)&#093;</P><P></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>public</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>SecAppUser</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> SecAppUser {</P><P></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>get</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>return</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>.SecAppUser.GetValue(</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>); } &lt;--------null reference here sometimes</P><P></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>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>.SecAppUser.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>); }</P><P>}</P><DIV></DIV><P>Seemingly at random the getter throws a null reference. I do not make any direct reference to this property so I am unsure why its "gotten" in the first place. When the error is thrown if I reference it through the immediate window it returns a value fine. The error is as follows:</P><DIV><table width="99%"><tr><td class="BBquote">Object reference not set to an instance of an object. at IdeaBlade.EntityModel.NavigationScalarEntityProperty`2.GetValue(TInstance instance)<BR>&nbsp;&nbsp; at Png.GcsAg.Model.Common.SecUserPrivilege.get_SecAppUser()<BR>&nbsp;&nbsp; at WriteSecUserPrivilegeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteRelatedEntityListOfSecUserPrivilege_SWPOidsLToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteSecAppUserToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteSecUserPrivilegeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteArrayOfSecUserPrivilegeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteGcsPrincipalToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at WriteSessionBundleToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )<BR>&nbsp;&nbsp; at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph)<BR>&nbsp;&nbsp; at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameterPart(XmlDictionaryWriter writer, PartInfo part, Object graph)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameter(XmlDictionaryWriter writer, PartInfo part, Object graph)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameters(XmlDictionaryWriter writer, PartInfo&#091;&#093; parts, Object&#091;&#093; parameters)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeBody(XmlDictionaryWriter writer, MessageVersion version, String action, MessageDescription messageDescription, Object returnValue, Object&#091;&#093; parameters, Boolean isRequest)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.OperationFormatter.SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, Object&#091;&#093; parameters, Object returnValue, Boolean isRequest)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.OperationFormatter.OperationFormatterMessage.OperationFormatterBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.BodyWriter.WriteBodyContents(XmlDictionaryWriter writer)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.Message.WriteMessage(XmlDictionaryWriter writer)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)<BR>&nbsp;&nbsp; at IdeaBlade.Core.Wcf.Extensions.GZipMessageEncoderFactory.GZipMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.MessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpOutput.SerializeBufferedMessage(Message message)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpOutput.SendAsyncResult.SendWithoutChannelBindingToken()<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpOutput.SendAsyncResult..ctor(HttpOutput httpOutput, Boolean suppressEntityBody, TimeSpan timeout, AsyncCallback callback, Object state)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpOutput.BeginSend(TimeSpan timeout, AsyncCallback callback, Object state)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.SendWebRequest()<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.BeginSendRequest(Message message, TimeSpan timeout)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.RequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)<BR>&nbsp;&nbsp; at System.ServiceModel.Dispatcher.RequestChannelBinder.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)<BR>&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartSend(Boolean completedSynchronously)</td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Any ideas on where to look? If I ignore the error things appear to continue as expected.</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 25 May 2011 05:12:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2714&amp;PID=10818#10818</guid>
  </item> 
 </channel>
</rss>