<?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 : NullReferenceException after installing 5.2.2</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : NullReferenceException after installing 5.2.2</description>
  <pubDate>Sat, 11 Apr 2026 21:15:26 -700</pubDate>
  <lastBuildDate>Wed, 16 Sep 2009 21:23:22 -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=1473</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>NullReferenceException after installing 5.2.2 : Like you said, I made my OnSaving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5398#5398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=370" rel="nofollow">sebma</a><br /><strong>Subject:</strong> 1473<br /><strong>Posted:</strong> 16-Sep-2009 at 9:23pm<br /><br />Like you said, I made my OnSaving method public and now it works.<br /><br />Thanks Kim!]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 21:23:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5398#5398</guid>
  </item> 
  <item>
   <title>NullReferenceException after installing 5.2.2 : Everything looks fine in your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5393#5393</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> 1473<br /><strong>Posted:</strong> 16-Sep-2009 at 9:51am<br /><br />Everything looks fine in your config files.&nbsp; Make sure that the OnSaving method implemented in your DefaultEntityServerSavingHandler is marked public -- we now do additional reflection to look at the attributes on this method.&nbsp; <DIV>&nbsp;</DIV><DIV>If the method is public, can you post your entire DefaultEntityServerSavingHandler implementation, or send it to my email address (kimj ...)?</DIV>]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 09:51:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5393#5393</guid>
  </item> 
  <item>
   <title>NullReferenceException after installing 5.2.2 : Hi,  I upgraded from 5.1.0 to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5392#5392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=370" rel="nofollow">sebma</a><br /><strong>Subject:</strong> 1473<br /><strong>Posted:</strong> 16-Sep-2009 at 4:00am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I upgraded from 5.1.0 to 5.2.2.</DIV><DIV>My codes are updated based on "breaking changes" documented in the release notes, and successful built.</DIV><DIV>&nbsp;</DIV><DIV>My N-tier applications have been working before so I did not change any app.configs settings. Note that I have own implementations of ILoginManager and IEntityServerSaving in probeAssemblyNames. Examples below.</DIV><DIV>&nbsp;</DIV><DIV>ServerConsole.exe.config:</DIV><DIV>&lt;configuration&gt;<BR>&nbsp; &lt;configSections&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core, Version=5.1.0.0, Culture=neutral, PublicKeyToken=287b5094865421c0" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;section name="EmailConfig" type="DomainModel.EmailConfig, DomainModel" /&gt; <BR>&nbsp; &lt;/configSections&gt;<BR>&nbsp; &lt;ideablade.configuration version="5.00" updateFromDomainModelConfig="Ask" loginManagerRequired="true"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;probeAssemblyNames&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;probeAssemblyName name="LoginManager" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;probeAssemblyName name="EntityServerHandlers" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/probeAssemblyNames&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!--&nbsp;&nbsp;&nbsp; --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;logging logFile="DebugLog.xml" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;objectServer isDistributed="true" remoteBaseURL="<a href="http://localhost" target="_blank">http://localhost</A>" serverPort="9009" serviceName="EntityService" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;edmKeys&gt;</DIV><DIV>...</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>WinFormClient.exe.config:</DIV><DIV>&lt;configuration&gt;<BR>&nbsp; &lt;configSections&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core, Version=5.1.0.0, Culture=neutral, PublicKeyToken=287b5094865421c0" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!-- Custom config section, where type = "fully qualified typename, AssemblyName"--&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;section name="SkillConConfig" type="DomainModel.SkillConConfig, DomainModel" /&gt;<BR>&nbsp; &lt;/configSections&gt;<BR>&nbsp; &lt;ideablade.configuration version="5.00" updateFromDomainModelConfig="Ask"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;logging logFile="DebugLog.xml" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;objectServer isDistributed="true" remoteBaseURL="<a href="http://localhost" target="_blank">http://localhost</A>" serverPort="9009" serviceName="EntityService" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;edmKeys&gt;</DIV><DIV>...</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV>There was no errors querying entities.&nbsp;But&nbsp;on saving entity, I have a null reference exception somewhere but was unable to trace. Server-side DebugLog.xml shows the following:</DIV><DIV>&nbsp;</DIV><DIV>2009-09-16 18:09:44 sysuser IdeaBlade.EntityModel.Server EntityServer::GetInstanceImplementing Probed for 'IdeaBlade.EntityModel.Server.IEntityServerSaving' and found: EntityServerHandlers.DefaultEntityServerSavingHandler <BR>2009-09-16 18:09:44 sysuser IdeaBlade.EntityModel.Server EntityServerErrorHandler::CreateMessageFault Caught exception: System.NullReferenceException: Object reference not set to an instance of an object. at IdeaBlade.Core.DomainServices.AuthorizationHelperFns.GetAuthorizeFunction(MethodInfo method) at IdeaBlade.EntityModel.Server.EntityServer.&lt;.ctor&gt;b__4(IEntityServerSaving f) at IdeaBlade.Core.MemoFns.&lt;&gt;c__DisplayClass4`2.&lt;Memoize&gt;b__3(A arg) at IdeaBlade.EntityModel.Server.EntityServer.OnSaving(SessionBundle sessionBundle, EntityCache&amp; savingEntityCache, Object&amp; context) at IdeaBlade.EntityModel.Server.EntityServer.SaveChanges(SessionBundle sessionBundle, EntityCache entityCache, SaveOptions saveOptions) at SyncInvokeSaveChanges(Object , Object&#091;&#093; , Object&#091;&#093; ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object&#091;&#093; inputs, Object&#091;&#093;&amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) </DIV></DIV><DIV>&nbsp;</DIV><DIV>Is there anything I need to re-set in my app.config, like the "Version=5.x.x.x"? Have I missed anything?</DIV><DIV>Thanks much!</DIV><DIV>Sebastian</DIV>]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 04:00:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1473&amp;PID=5392#5392</guid>
  </item> 
 </channel>
</rss>