<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unhandled exception - just in time debugging in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/unhandled-exception-just-in-time-debugging/m-p/564412#M15204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an application (extension) that works fine on Windows XP platform. When I run this application on Windows 7 it throws this error. I am not sure what is causing this. I was thinking that it could be due to the fact that .net framework is not installed but I can see all in there. Looking for any ideas to resolve this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: this error comes up when I click on a combox box. How can i get past this message box and get to actual error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jay &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;***** Exception Text ******* System.NullReferenceException: Object reference not set to an instance of an object. at MapExt_Net.HEI_Extensions.layout.frmLayout.DisplaySize() at MapExt_Net.HEI_Extensions.layout.frmLayout.cBLayoutExtent_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message&amp;amp; m) at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]16041[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 21:02:03 GMT</pubDate>
    <dc:creator>jayshukla</dc:creator>
    <dc:date>2012-07-12T21:02:03Z</dc:date>
    <item>
      <title>Unhandled exception - just in time debugging</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/unhandled-exception-just-in-time-debugging/m-p/564412#M15204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an application (extension) that works fine on Windows XP platform. When I run this application on Windows 7 it throws this error. I am not sure what is causing this. I was thinking that it could be due to the fact that .net framework is not installed but I can see all in there. Looking for any ideas to resolve this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: this error comes up when I click on a combox box. How can i get past this message box and get to actual error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jay &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;***** Exception Text ******* System.NullReferenceException: Object reference not set to an instance of an object. at MapExt_Net.HEI_Extensions.layout.frmLayout.DisplaySize() at MapExt_Net.HEI_Extensions.layout.frmLayout.cBLayoutExtent_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message&amp;amp; m) at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]16041[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 21:02:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/unhandled-exception-just-in-time-debugging/m-p/564412#M15204</guid>
      <dc:creator>jayshukla</dc:creator>
      <dc:date>2012-07-12T21:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled exception - just in time debugging</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/unhandled-exception-just-in-time-debugging/m-p/564413#M15205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a bunch of context information missing.&amp;nbsp; Is this engine, server or desktop?&amp;nbsp; What is the combo box doing.&amp;nbsp; What components are being loaded.&amp;nbsp; Are your two system 64 or 32 bit.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you don't have proper exception handling in your form event handlers.&amp;nbsp; Exception handlers might give you a better clue as to what is happening.&amp;nbsp; Also is your development environment on Win7?&amp;nbsp; It is very difficult to develop on one OS and deploy on a different one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 12:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/unhandled-exception-just-in-time-debugging/m-p/564413#M15205</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-07-13T12:25:43Z</dc:date>
    </item>
  </channel>
</rss>

