<?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: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186156#M17290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting exactly the same issue when one of my layer is loading. Can you please let us know the fix you have applied? Published layer type is polyline and using ArcGIS API for javascript 4,12 and server version is 10.6.1. What I am guessing there may be labeling issue with the layer because in code if I set the labelinginfo : null this error does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2019 06:38:35 GMT</pubDate>
    <dc:creator>SurajJha1</dc:creator>
    <dc:date>2019-09-06T06:38:35Z</dc:date>
    <item>
      <title>Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186151#M17285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-top: 0px !important; margin-bottom: 16px;"&gt;We use Arcgis for javascript 4.11 and after loading the map on the UI, everything works fine. However, we just upgraded to use version 4.12 and we are getting the following error on page load. Can someone please help us resolve this? Thanks&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 0px !important;"&gt;core.js:15713 ERROR TypeError: Cannot read property '1' of undefined&lt;BR /&gt;at a.getData (engine.js:448)&lt;BR /&gt;at a.getVVSize (engine.js:447)&lt;BR /&gt;at a.reset (engine.js:468)&lt;BR /&gt;at a.reset (engine.js:465)&lt;BR /&gt;at a.run (engine.js:457)&lt;BR /&gt;at Object.e._applyVisivilityPass (mapViewDeps.js:8)&lt;BR /&gt;at u (mapViewDeps.js:9)&lt;BR /&gt;at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)&lt;BR /&gt;at Object.onInvokeTask (core.js:17279)&lt;BR /&gt;at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 23:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186151#M17285</guid>
      <dc:creator>DanLokman</dc:creator>
      <dc:date>2019-08-28T23:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186152#M17286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/374334"&gt;Dan Lokman&lt;/A&gt;‌! Unfortunately the fix for this didn't quite make it into 4.12, but it will be there for 4.13.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:41:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186152#M17286</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-08-29T16:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186153#M17287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Good to know. How do you know it'll be fixed in 4.13? Do you have a reference url or article? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 19:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186153#M17287</guid>
      <dc:creator>DanLokman</dc:creator>
      <dc:date>2019-08-30T19:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186154#M17288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I work on the labeling and fixed this issue in another context, which I think should fix this one as well. Not sure if we plan on exposing a 4.13 pre-release yet, but I'll get back to you on that.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186154#M17288</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-09-03T17:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186155#M17289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a bunch. We'll surely test with 4.13 once it comes out and will let you guys know....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 16:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186155#M17289</guid>
      <dc:creator>DanLokman</dc:creator>
      <dc:date>2019-09-04T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186156#M17290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting exactly the same issue when one of my layer is loading. Can you please let us know the fix you have applied? Published layer type is polyline and using ArcGIS API for javascript 4,12 and server version is 10.6.1. What I am guessing there may be labeling issue with the layer because in code if I set the labelinginfo : null this error does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 06:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186156#M17290</guid>
      <dc:creator>SurajJha1</dc:creator>
      <dc:date>2019-09-06T06:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186157#M17291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the labeling settings with featureserver and featurelayers, the application will:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - Cause the layers to not load at all, and the application becomes broken if the layers are open by default&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If the layers are not on by default, and then turned on by the user, the app does work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 - Cause the application to throw errors during drawing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/458885_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Error:&lt;/P&gt;&lt;DIV&gt;ERROR TypeError: Cannot read property '1' of undefined&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at a.getData (engine.js:448)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at a.getVVSize (engine.js:447)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at a.reset (engine.js:468)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at a.reset (engine.js:465)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at a.run (engine.js:457)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Object.e._applyVisivilityPass (mapViewDeps.js:8)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at u (mapViewDeps.js:9)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at t.invokeTask (polyfills.6128a76cb46d689e5adb.js:1)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at Object.onInvokeTask (main.4f6b201b924958ab72f9.js:1)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at t.invokeTask (polyfills.6128a76cb46d689e5adb.js:1)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It is fairly frustrating when certain api errors cause the esri code / map to stop working altogether... is there any kind of global error handler we can tap into to allow the app to proceed after hitting some problem?&amp;nbsp; &amp;nbsp;We have a couple other similar things going on that we need a strategy for getting around.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 14:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186157#M17291</guid>
      <dc:creator>RoyJackson2</dc:creator>
      <dc:date>2019-09-06T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186158#M17292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm this is a good idea, I'll discuss and see if there is something we can do on this front.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 17:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186158#M17292</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-09-06T17:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186159#M17293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fix is in our 4.13 development build, I'll let you know as soon as there's something we can share. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 18:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186159#M17293</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-09-06T18:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186160#M17294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick update on this - after some discussion we agreed that these types of errors should not stop rendering. We'll be taking a look at our error handling to see where we can improve. Probably we need to be wrapping more calls in catch blocks that recover and log the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 18:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-arcgis-4-12-throws-an-error-error/m-p/186160#M17294</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-09-06T18:16:55Z</dc:date>
    </item>
  </channel>
</rss>

