{"id":1292,"date":"2023-03-22T13:39:52","date_gmt":"2023-03-22T13:39:52","guid":{"rendered":"https:\/\/ibex.tech\/csharp\/?p=1292"},"modified":"2023-03-22T13:40:50","modified_gmt":"2023-03-22T13:40:50","slug":"object-reference-not-set-to-an-instance-of-an-object","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/debugging-uwp-programming-in-c\/errors\/object-reference-not-set-to-an-instance-of-an-object","title":{"rendered":"Object reference not set to an instance of an object"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Error message: Object reference not set to an instance of an object<\/h5>\n\n\n\n<p>Have you included a class int he file but forgotten to create it as an object?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>private SomeClassName SomeClassName1;\n\n\n        public PageVentilationKeyPopup(string PopupType, int LevelNumber)\n        {\n            this.InitializeComponent();\n\n            SomeClassName1 = new SomeClassName();\t\/\/&lt;Did you forget this?<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Error message: Object reference not set to an instance of an object Have you included a class int he file but forgotten to create it as an object?<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[153],"tags":[],"class_list":["post-1292","post","type-post","status-publish","format-standard","hentry","category-errors"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=1292"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1292\/revisions"}],"predecessor-version":[{"id":1295,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/1292\/revisions\/1295"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=1292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=1292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=1292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}