<?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: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644769#M87546</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/816367"&gt;@CharanpreetKaur&lt;/a&gt;,&amp;nbsp;I understand. It sounds like you did not make any code changes, and the app still works without labels when you upgraded from 4.30 to 4.33. But if you use labels, it crashes at 4.33.&lt;/P&gt;&lt;P&gt;Updating to a new version of the ArcGIS Maps SDK for JavaScript can require code changes. We list the breaking changes at every release. Here are the breaking changes for 4.31 and 4.32 and 4.33 that might be affecting your app.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.31/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/4.31/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.32/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/4.32/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Even if changes were not made to&amp;nbsp;&lt;SPAN&gt;labelingInfo, internally, perhaps in conjunction with loading multiple versions&amp;nbsp;of Lit, changes may be needed in order to update the app to consume different versions of APIs and/or frameworks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The difficulty here is there is no way for me to debug without a simplified reproducible test-app. I would recommend trying older versions of the SDK (4.31, then 4.32) and see if they work, or if they break in a useful or revealing way. Also, if you have the ability, I would contact Technical Support and open an issue.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 17:31:26 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2025-08-22T17:31:26Z</dc:date>
    <item>
      <title>FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1643571#M87530</link>
      <description>&lt;P&gt;I’m using the ArcGIS Maps SDK for JavaScript (v4.33) within a React application, where I dynamically create layers with custom renderers and label configurations. I recently upgraded my application from v4.30 (where everything functioned correctly) to v4.33.&lt;/P&gt;&lt;P&gt;The issue:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Layers that have no labelingInfo on the server work fine.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;But whenever a layer has labelingInfo defined on the server side, my app crashes with the following error:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharanpreetKaur_0-1755665092510.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138874i048766CCB42785D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CharanpreetKaur_0-1755665092510.png" alt="CharanpreetKaur_0-1755665092510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Question:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is this a known issue with labelingInfo + renderers in v4.33?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Am I missing a required property in the labelingInfo definition?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Is there a way to tell the API to ignore server-side labelingInfo (or safely override it with an empty labelingInfo&amp;nbsp; : []) when creating a FeatureLayer?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Aug 2025 05:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1643571#M87530</guid>
      <dc:creator>CharanpreetKaur</dc:creator>
      <dc:date>2025-08-20T05:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1643742#M87534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/816367"&gt;@CharanpreetKaur&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. There should not be an issue with labeling at 4.33 with a React app, but it's difficult to diagnose from the above information.&lt;/P&gt;&lt;P&gt;If you open the browser Developer Tools, do you see any warning or error messages in the Console?&lt;/P&gt;&lt;P&gt;Can you create a simplified reproducible test-app that demonstrates this issue with and without React?&lt;/P&gt;&lt;P&gt;Lastly, there were some breaking changes between version 4.30 and 4.33, you might want to review the changes and see if the app needs to be updated:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/breaking-changes/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/breaking-changes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 14:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1643742#M87534</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-08-20T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644123#M87537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your response. Below are some additional details:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Service URL&lt;/STRONG&gt;:&amp;nbsp;&lt;A href="https://abc.com/server/rest/services/abc/AdminBoundaries/FeatureServer/1" target="_new" rel="noopener"&gt;https://abc.com/server/rest/services/abc/AdminBoundaries/FeatureServer/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Labeling Info&lt;/STRONG&gt;:&lt;BR /&gt;I’ve attached a screenshot showing how labeling info is being passed.&lt;/P&gt;&lt;P&gt;I noticed that in layers where the &lt;STRONG&gt;labeling info is empty&lt;/STRONG&gt; under &lt;EM&gt;Drawing Info&lt;/EM&gt;, there is no issue. However, when labeling info is present (as shown in the screenshot), the website crashes (as shared in my original post).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharanpreetKaur_2-1755757057693.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/139052i4424699ABD7B6430/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CharanpreetKaur_2-1755757057693.png" alt="CharanpreetKaur_2-1755757057693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharanpreetKaur_3-1755757082806.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/139053iC47C55BF71858679/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CharanpreetKaur_3-1755757082806.png" alt="CharanpreetKaur_3-1755757082806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Console Warnings before crash:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Multiple versions &lt;SPAN class=""&gt;of&lt;/SPAN&gt; Lit loaded. Loading multiple versions &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; recommended. See &lt;A href="https://lit.dev/msg/multiple-versions" target="_blank" rel="noopener"&gt;https://lit.dev/msg/multiple-versions&lt;/A&gt; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; more information.&lt;BR /&gt;GVH7TFSD.js:&lt;SPAN class=""&gt;4&lt;/SPAN&gt; The specified &lt;SPAN class=""&gt;value&lt;/SPAN&gt; "null" cannot be parsed, &lt;SPAN class=""&gt;or&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;out&lt;/SPAN&gt; &lt;SPAN class=""&gt;of&lt;/SPAN&gt; range.&lt;BR /&gt;GVH7TFSD.js:&lt;SPAN class=""&gt;4&lt;/SPAN&gt; The specified &lt;SPAN class=""&gt;value&lt;/SPAN&gt; "undefined" cannot be parsed, &lt;SPAN class=""&gt;or&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&lt;/SPAN&gt; &lt;SPAN class=""&gt;out&lt;/SPAN&gt; &lt;SPAN class=""&gt;of&lt;/SPAN&gt; range.&lt;BR /&gt;NZJMPPJZ.js:&lt;SPAN class=""&gt;4&lt;/SPAN&gt; &lt;SPAN class=""&gt;No&lt;/SPAN&gt; data was passed &lt;SPAN class=""&gt;to&lt;/SPAN&gt; the &lt;SPAN class=""&gt;filter&lt;/SPAN&gt; &lt;SPAN class=""&gt;function&lt;/SPAN&gt;. The data argument should be an &lt;SPAN class=""&gt;array&lt;/SPAN&gt; &lt;SPAN class=""&gt;of&lt;/SPAN&gt; objects&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;After these warnings, the console shows reconnect debug tool messages and then the app crashes.&lt;/P&gt;&lt;P&gt;Could you please help me identify if this is related to the labeling info itself, or if it’s being caused by multiple versions of Lit or some breaking change between 4.30 → 4.33?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 06:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644123#M87537</guid>
      <dc:creator>CharanpreetKaur</dc:creator>
      <dc:date>2025-08-21T06:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644468#M87539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/816367"&gt;@CharanpreetKaur&lt;/a&gt;,&amp;nbsp;it's difficult to debug from those errors/warnings. I haven't worked with Lit much, and can only focus on our core product.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I noticed that in layers where the &lt;STRONG&gt;labeling info is empty&lt;/STRONG&gt; under &lt;EM&gt;Drawing Info&lt;/EM&gt;, there is no issue.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is curious. You mean in the service definition from REST right, not in the code?&lt;/P&gt;&lt;P&gt;I would test each version individually. Try 4.31, and then 4.32. See if it works in an earlier version. Without&amp;nbsp;&lt;SPAN&gt;a simplified reproducible test-app that demonstrates this issue, it's tricky for me to help more.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 20:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644468#M87539</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-08-21T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644626#M87544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;My application works fine when I set labelingInfo: []. However, as soon as I add any configuration inside labelingInfo to enable labels, the app crashes with the error &lt;STRONG&gt;“Aw, Snap! Out of Memory.”&lt;/STRONG&gt;&lt;BR /&gt;I followed the official Esri labeling article and implemented the steps exactly as described, but even that code results in the same crash.&lt;BR /&gt;This issue only started appearing after I upgraded from &lt;STRONG&gt;v4.30 to v4.33&lt;/STRONG&gt;, where the same configuration worked without any problems.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 11:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644626#M87544</guid>
      <dc:creator>CharanpreetKaur</dc:creator>
      <dc:date>2025-08-22T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644769#M87546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/816367"&gt;@CharanpreetKaur&lt;/a&gt;,&amp;nbsp;I understand. It sounds like you did not make any code changes, and the app still works without labels when you upgraded from 4.30 to 4.33. But if you use labels, it crashes at 4.33.&lt;/P&gt;&lt;P&gt;Updating to a new version of the ArcGIS Maps SDK for JavaScript can require code changes. We list the breaking changes at every release. Here are the breaking changes for 4.31 and 4.32 and 4.33 that might be affecting your app.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.31/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/4.31/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.32/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/4.32/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Even if changes were not made to&amp;nbsp;&lt;SPAN&gt;labelingInfo, internally, perhaps in conjunction with loading multiple versions&amp;nbsp;of Lit, changes may be needed in order to update the app to consume different versions of APIs and/or frameworks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The difficulty here is there is no way for me to debug without a simplified reproducible test-app. I would recommend trying older versions of the SDK (4.31, then 4.32) and see if they work, or if they break in a useful or revealing way. Also, if you have the ability, I would contact Technical Support and open an issue.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 17:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1644769#M87546</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-08-22T17:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1645109#M87548</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Will you be reaching out to the technical support team, or should I handle it? If I need to, please guide me through the process of how to contact them.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 06:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1645109#M87548</guid>
      <dc:creator>CharanpreetKaur</dc:creator>
      <dc:date>2025-08-25T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer with labelingInfo causes crash in ArcGIS JS 4.33</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1645209#M87550</link>
      <description>&lt;P&gt;Here is the link for contacting Esri Technical Support:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/contact" target="_blank"&gt;https://support.esri.com/en-us/contact&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 15:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-with-labelinginfo-causes-crash-in/m-p/1645209#M87550</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-08-25T15:11:08Z</dc:date>
    </item>
  </channel>
</rss>

