{"id":148,"date":"2010-08-19T15:32:17","date_gmt":"2010-08-19T20:32:17","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/?p=148"},"modified":"2011-03-10T10:57:27","modified_gmt":"2011-03-10T15:57:27","slug":"biztalk-nullreferenceexception-on-system-type-gettype","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/biztalk-nullreferenceexception-on-system-type-gettype\/","title":{"rendered":"BizTalk NullReferenceException on System.Type.GetType"},"content":{"rendered":"<p>I had been using System.Type.GetType as the first step in dynamically calling a map, but I was now getting a null pointer exception.  I had moved the map to another assembly.  Once I did that, it appears that I needed to use the type name including the assembly strong name.  Something like: &#8220;Fully.Qualified.Type.Name, Fully.Qualified.Assembly.Name, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123456789abcdef0&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had been using System.Type.GetType as the first step in dynamically calling a map, but I was now getting a null pointer exception. I had moved the map to another assembly. Once I did that, it appears that I needed to use the type name including the assembly strong name. Something like: &#8220;Fully.Qualified.Type.Name, Fully.Qualified.Assembly.Name, Version=1.0.0.0, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-biztalk"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}