<?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 Intermittent FeatureLayer error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermittent-featurelayer-error/m-p/1201078#M78232</link>
    <description>&lt;P&gt;I have an application where a featurelayer is created with ESRI JavaScript API 4.24 from a fieldlist, geometryType and other details, and then populated with applyEdits using data retrieved from a windows socket.&lt;/P&gt;&lt;P&gt;I would say the application works most of the time, but maybe 1 out of 5 times it gives the following error in the console:&amp;nbsp;&lt;/P&gt;&lt;P&gt;[esri.views.2d.engine.webgl.mesh.templates.WGLTemplateStore] n&amp;nbsp;{name: 'mapview-template-store', details: n, message: 'Unable to fetch requested texture resources'}&lt;/P&gt;&lt;P&gt;The featurelayer was created successfully without any error, and the feature count kept going up at the expected rate. However nothing gets rendered on the map, and each 'applyEdit' create the WGLTemplateStore error.&lt;/P&gt;&lt;P&gt;I tried to use TypeScript's Try - Catch method to capture this error so I can deal with it, but these do not register as exceptions. Can someone please tell me how I can 'catch' this type of issue in code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2022 21:20:58 GMT</pubDate>
    <dc:creator>MichaelWen_Timmons</dc:creator>
    <dc:date>2022-08-09T21:20:58Z</dc:date>
    <item>
      <title>Intermittent FeatureLayer error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermittent-featurelayer-error/m-p/1201078#M78232</link>
      <description>&lt;P&gt;I have an application where a featurelayer is created with ESRI JavaScript API 4.24 from a fieldlist, geometryType and other details, and then populated with applyEdits using data retrieved from a windows socket.&lt;/P&gt;&lt;P&gt;I would say the application works most of the time, but maybe 1 out of 5 times it gives the following error in the console:&amp;nbsp;&lt;/P&gt;&lt;P&gt;[esri.views.2d.engine.webgl.mesh.templates.WGLTemplateStore] n&amp;nbsp;{name: 'mapview-template-store', details: n, message: 'Unable to fetch requested texture resources'}&lt;/P&gt;&lt;P&gt;The featurelayer was created successfully without any error, and the feature count kept going up at the expected rate. However nothing gets rendered on the map, and each 'applyEdit' create the WGLTemplateStore error.&lt;/P&gt;&lt;P&gt;I tried to use TypeScript's Try - Catch method to capture this error so I can deal with it, but these do not register as exceptions. Can someone please tell me how I can 'catch' this type of issue in code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 21:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermittent-featurelayer-error/m-p/1201078#M78232</guid>
      <dc:creator>MichaelWen_Timmons</dc:creator>
      <dc:date>2022-08-09T21:20:58Z</dc:date>
    </item>
  </channel>
</rss>

