Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dlokman opened this issue Aug 28, 2019 · 5 comments

Comments

@dlokman
Copy link

dlokman commented Aug 28, 2019

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)

@jgravois
Copy link

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

@dlokman
Copy link
Author

dlokman commented Aug 28, 2019

ok thanks for letting me know

@jgravois
Copy link

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/

@dlokman
Copy link
Author

dlokman commented Aug 29, 2019

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

@jf990
Copy link
Contributor

jf990 commented Jun 19, 2020

Issue discussion moved to GeoNet.

@jf990 jf990 closed this as completed Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants