<?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 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'some') in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232515#M79349</link>
    <description>&lt;P&gt;//&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 23:40:31 GMT</pubDate>
    <dc:creator>_____</dc:creator>
    <dc:date>2022-11-16T23:40:31Z</dc:date>
    <item>
      <title>Uncaught (in promise) TypeError: Cannot read properties of null (reading 'some')</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232515#M79349</link>
      <description>&lt;P&gt;//&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 23:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232515#M79349</guid>
      <dc:creator>_____</dc:creator>
      <dc:date>2022-11-16T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught (in promise) TypeError: Cannot read properties of null (reading 'some')</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232528#M79350</link>
      <description>&lt;P&gt;Do you have a sample showing this behavior? I wasn't able to repro here. I thought maybe it was the adding and removing layer simultaneously, but that didn't trigger an error.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/BaVwdEg?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/BaVwdEg?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 23:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232528#M79350</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-11-16T23:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught (in promise) TypeError: Cannot read properties of null (reading 'some')</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232531#M79351</link>
      <description>&lt;P&gt;Sorry Rene, I figured it out after I posted... I tried to delete the post but it wouldn't let me. And now I can't get the original post back.&lt;/P&gt;&lt;P&gt;I realized I had another layer where I was setting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;layer.labelingInfo = null&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And that's what's throwing the error, where it worked in v4.21.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;It looks like I should be using&amp;nbsp;&lt;SPAN class=""&gt;labelsVisible instead.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 00:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-in-promise-typeerror-cannot-read/m-p/1232531#M79351</guid>
      <dc:creator>_____</dc:creator>
      <dc:date>2022-11-17T00:08:42Z</dc:date>
    </item>
  </channel>
</rss>

