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

Basemap issue #748

Open
1 of 5 tasks
ScottBassingthwaite opened this issue Jul 21, 2017 · 0 comments
Open
1 of 5 tasks

Basemap issue #748

ScottBassingthwaite opened this issue Jul 21, 2017 · 0 comments

Comments

@ScottBassingthwaite
Copy link

How often can you reproduce it?

  • Always
  • Sometimes
  • Rarely
  • Unable
  • I didn’t try

Issue with basemaps drawing, initial basemap draws, screen redraws without basemap. Can open Basemaps drop down and basemap is check, click on basemap and it draws. Error message is from developer tools in MS Internet Explorer 11. Using CMV 2.0.0 beta 2, CMV WAB 2.4 and 3.21 API.

TypeError: Unable to get property 'destroyLayerInfo' of undefined or null reference TypeError: Unable to get property 'destroyLayerInfo' of undefined or null reference
at _onLayersChange (http://jfsl-as-004v/Web/cmv/wab/2.4/jimu.js/LayerInfos/LayerInfos.js:840:11)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:62:456)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:650:194)
at c (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:119:178)
at removeLayer (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:597:104)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:152)
at n.forEach (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:70:422)
at _removeBasemapLayers (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:128)
at updateBasemap (http://jfsl-as-004v/Web/cmv/widge
{
[functions]: ,
proto: { },
description: "Unable to get property 'destroyLayerInfo' of undefined or null reference",
message: "Unable to get property 'destroyLayerInfo' of undefined or null reference",
name: "TypeError",
number: -2146823281,
stack: "TypeError: Unable to get property 'destroyLayerInfo' of undefined or null reference
at _onLayersChange (http://jfsl-as-004v/Web/cmv/wab/2.4/jimu.js/LayerInfos/LayerInfos.js:840:11)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:62:456)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:650:194)
at c (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:119:178)
at removeLayer (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:597:104)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:152)
at n.forEach (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:70:422)
at _removeBasemapLayers (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:128)
at updateBasemap (http://jfsl-as-004v/Web/cmv/widgets/Basemaps.js:158:21)
at setStartingBasemap (http://jfsl-as-004v/Web/cmv/widgets"
}
"TypeError: Unable to get property 'destroyLayerInfo' of undefined or null reference
at _onLayersChange (http://jfsl-as-004v/Web/cmv/wab/2.4/jimu.js/LayerInfos/LayerInfos.js:840:11)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:62:456)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:650:194)
at c (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:119:178)
at removeLayer (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:597:104)
at Anonymous function (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:152)
at n.forEach (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/init.js:70:422)
at _removeBasemapLayers (http://jfsl-as-004v/Web/arcgis_js_api/library/3.21/3.21/esri/dijit/BasemapGallery.js:199:128)
at updateBasemap (http://jfsl-as-004v/Web/cmv/widgets/Basemaps.js:158:21)
at setStartingBasemap (http://jfsl-as-004v/Web/cmv/widgets"

Steps to reproduce:

  1. Include a JS Bin (or equivalent) link if possible. You can use this as a starting point
  2. Detail the exact steps taken to produce the problem
  3. Include a gif if possible; you can use LICEcap to make a gif: http://www.cockos.com/licecap/
  4. Check the browser console for errors (Use F12 to access the console)

Expected results:

Actual results:

Environment:

Software Version
CMV Version 2.0 beta 2
IE 11 IE 11
Windows 7 Windows 7
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

1 participant