Esri/esri.github.io

Upgrading to Arcgis 4.12 throws an error: ERROR TypeError: Cannot read property '1' of undefined

Closed this issue · 5 comments

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

core.js:15713 ERROR TypeError: Cannot read property '1' of undefined
at a.getData (engine.js:448)
at a.getVVSize (engine.js:447)
at a.reset (engine.js:468)
at a.reset (engine.js:465)
at a.run (engine.js:457)
at Object.e._applyVisivilityPass (mapViewDeps.js:8)
at u (mapViewDeps.js:9)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:17279)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)

this isn't the best spot to be asking for help with the ArcGIS API for JavaScript.

you should either log a technical support ticket or use GeoNet.

https://github.com/Esri/jsapi-resources/blob/master/CONTRIBUTING.md#contributing-to-arcgis-api-for-javascript

ok thanks for letting me know

no worries. if you haven't already I'd also recommend checking out the "breaking changes" section of the 4.12 release notes.

https://developers.arcgis.com/javascript/latest/guide/release-notes/

Yeah Thanks. Unfortunately the Release Notes don't help. I'll try GeoNet and submitting a support ticket. Thanks for your help

jf990 commented

Issue discussion moved to GeoNet.