<?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 A layer/shape file cause map to stop working. in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/a-layer-shape-file-cause-map-to-stop-working/m-p/678984#M18200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have problem with Java GIS application which was developed using ESRI Engine Runtime (9.3.1) and arcobjects.jar library. The application uses multi-layer map including few dynamics layer, the main one is displaying cars which is updated in real-time based on gps information. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In development phase we used shape files with WGS-84 spatial reference system. We changed it recently and replaced them with equivalent shape files with new coordinate system which is called PUWG-1992 (currently standard in Poland) with Geographic coordinate system name: GCS_ETRS_1989. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is one specific shape file that causes the map to stop responding after it is added. There is&amp;nbsp; no specific error in log after it is added. However map just stops working, it doesn't refresh, white screen etc. Also it only occurs in working environment (the application is used there already), and in my development environment it doesn't seem to cause any problem. Probably because there is more data for application to handle there. So it might seem like kind of efficiency problem, but still there are two layers which are bigger (shape files have 250 MB and 300 MB) and they don't cause any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate system information of the problematic layer doesn't differ from other shape files. Its FeatureClass shape geometry is line (layer contains roads), it has 9 text fields and one double type field - OBJECT_ID (route identifier). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application is run with following JVM settings at the moment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to increase Xms and Xmx but it doesn't help. When I increased MaxPermSize to 256m, map crashed with AutomationExceptions. It seemed like it caused other feature classes stop working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are examples: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AutomationException: 0x80070057 - One or more arguments are invalid
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.carto.FeatureLayer.isValid(Unknown Source) &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; AutomationException: 0x80010108 - The object invoked has disconnected from its c 
&amp;nbsp;&amp;nbsp;&amp;nbsp; lients. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.controls.MapControl.getLayer(Unknown Source) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.beans.map.MapBean.getLayer(Unknown Source) 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AutomationException: 0x80010012 - The callee (server [not server application]) is not available and disappeared); all connections are invalid.&amp;nbsp; The call did not execute.
 at com.esri.arcgis.controls.ControlsSelectAllCommand.setLayerIndex(Unknown Source)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 11:36:55 GMT</pubDate>
    <dc:creator>GrzegorzKrajewski</dc:creator>
    <dc:date>2011-10-19T11:36:55Z</dc:date>
    <item>
      <title>A layer/shape file cause map to stop working.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/a-layer-shape-file-cause-map-to-stop-working/m-p/678984#M18200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have problem with Java GIS application which was developed using ESRI Engine Runtime (9.3.1) and arcobjects.jar library. The application uses multi-layer map including few dynamics layer, the main one is displaying cars which is updated in real-time based on gps information. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In development phase we used shape files with WGS-84 spatial reference system. We changed it recently and replaced them with equivalent shape files with new coordinate system which is called PUWG-1992 (currently standard in Poland) with Geographic coordinate system name: GCS_ETRS_1989. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is one specific shape file that causes the map to stop responding after it is added. There is&amp;nbsp; no specific error in log after it is added. However map just stops working, it doesn't refresh, white screen etc. Also it only occurs in working environment (the application is used there already), and in my development environment it doesn't seem to cause any problem. Probably because there is more data for application to handle there. So it might seem like kind of efficiency problem, but still there are two layers which are bigger (shape files have 250 MB and 300 MB) and they don't cause any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate system information of the problematic layer doesn't differ from other shape files. Its FeatureClass shape geometry is line (layer contains roads), it has 9 text fields and one double type field - OBJECT_ID (route identifier). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application is run with following JVM settings at the moment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to increase Xms and Xmx but it doesn't help. When I increased MaxPermSize to 256m, map crashed with AutomationExceptions. It seemed like it caused other feature classes stop working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are examples: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AutomationException: 0x80070057 - One or more arguments are invalid
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.carto.FeatureLayer.isValid(Unknown Source) &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; AutomationException: 0x80010108 - The object invoked has disconnected from its c 
&amp;nbsp;&amp;nbsp;&amp;nbsp; lients. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.controls.MapControl.getLayer(Unknown Source) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.esri.arcgis.beans.map.MapBean.getLayer(Unknown Source) 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AutomationException: 0x80010012 - The callee (server [not server application]) is not available and disappeared); all connections are invalid.&amp;nbsp; The call did not execute.
 at com.esri.arcgis.controls.ControlsSelectAllCommand.setLayerIndex(Unknown Source)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 11:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/a-layer-shape-file-cause-map-to-stop-working/m-p/678984#M18200</guid>
      <dc:creator>GrzegorzKrajewski</dc:creator>
      <dc:date>2011-10-19T11:36:55Z</dc:date>
    </item>
  </channel>
</rss>

