<?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 Re: Unhandled Access Violation Reading 0x0110 Exception at d622d98eh in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/unhandled-access-violation-reading-0x0110-exception-at-d622d98eh/m-p/6046449#M1241</link>
    <description>&lt;P&gt;Hard to say without seeing your code.&amp;nbsp; I've personally seen this error when improperly opening a 2nd transaction in Autocad Map 2015; furthermore the same improper code did NOT cause an exception in Autocad Map 2014.&amp;nbsp; So that code was apparently more forgiving in previous versions of Map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you debug with breakpoints to see exactly how far your code is getting and on what line the exception occurs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.plannedscape.net" target="_blank"&gt;www.plannedscape.net&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2016 22:55:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-18T22:55:21Z</dc:date>
    <item>
      <title>Unhandled Access Violation Reading 0x0110 Exception at d622d98eh</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/unhandled-access-violation-reading-0x0110-exception-at-d622d98eh/m-p/6012635#M1240</link>
      <description>&lt;P&gt;I am developing a plugin for AutoCAD Map 3D 2016.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting an exception thrown by AutoCAD that seems to occur when programmatically switching layouts. Autocad crashes and I get the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FATAL ERROR:&amp;nbsp; Unhandled Access Violation Reading 0x0110 Exception at d622d98eh&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Autodesk problem report shows that my plugin is crashing when it hits a line of my code that switches to a different layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ObjectId layoutObjId = LayoutManager.Current.GetLayoutId(layoutName);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LayoutManager.Current.SetCurrentLayoutId(layoutObjId);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a test function that displays the state of the layout ObjectId. When AutoCAD crashes the DxfName is LAYOUT, IsValid is true and IsNull is false.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The crashing is intermittent. It seems to happen after several minutes of exercising the code while it programmatically deletes and/or creates layouts. It might take several minutes for this problem to occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone through through the code searching for improperly disposing objects. I am using the GetObject method from the Transaction class to read to DBObjects, Entities, Polylines. My understanding is the all database objects instantiated by the GetObject command are managed and therefore do not need to manually disposed. I do add add AutoCAD objects back to the database and am wrapping those objects with the "using" statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I diagnose this problem?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 20:26:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/unhandled-access-violation-reading-0x0110-exception-at-d622d98eh/m-p/6012635#M1240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T20:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled Access Violation Reading 0x0110 Exception at d622d98eh</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/unhandled-access-violation-reading-0x0110-exception-at-d622d98eh/m-p/6046449#M1241</link>
      <description>&lt;P&gt;Hard to say without seeing your code.&amp;nbsp; I've personally seen this error when improperly opening a 2nd transaction in Autocad Map 2015; furthermore the same improper code did NOT cause an exception in Autocad Map 2014.&amp;nbsp; So that code was apparently more forgiving in previous versions of Map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you debug with breakpoints to see exactly how far your code is getting and on what line the exception occurs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.plannedscape.net" target="_blank"&gt;www.plannedscape.net&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 22:55:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/unhandled-access-violation-reading-0x0110-exception-at-d622d98eh/m-p/6046449#M1241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-18T22:55:21Z</dc:date>
    </item>
  </channel>
</rss>

