AnsweredAssumed Answered

Info Summary Widget Error (doesn't allow to add layers) 2.7&2.9 dev edt

Question asked by Irfanafsar1 on Aug 7, 2018
Latest reply on Aug 8, 2018 by Irfanafsar1

Hi fellows,

I was working on my WAB 2.7 dev edition. Somehow I got the error, I can not add data into Info Summary widget. It through error in console. I already tried in different directory with brand new installation of 2.7 and 2.9. Also, I created a new app with different themes but no luck. I really appreciate any help!

InfoSummary Error

 TypeError: Cannot read property 'itemId' of null          init.js:114
    at Object._setLayers (Setting.js?wab_dv=2.7:376)
    at Object.<anonymous> (Setting.js?wab_dv=2.7:246)
    at init.js:63
    at h (init.js:107)
    at d.then.b.then (init.js:110)
    at Object._getAllLayers (Setting.js?wab_dv=2.7:238)
    at Object.postCreate (Setting.js?wab_dv=2.7:101)
    at Object.create (init.js:355)
    at Object.postscript (init.js:354)
    at new <anonymous> (init.js:200) "TypeError: Cannot read property 'itemId' of null
    at Object._setLayers (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:376:29)
    at Object.<anonymous> (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:246:20)
    at https://jsdev.arcgis.com/3.23/init.js:63:337
    at h (https://jsdev.arcgis.com/3.23/init.js:107:277)
    at d.then.b.then (https://jsdev.arcgis.com/3.23/init.js:110:152)
    at Object._getAllLayers (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:238:14)
    at Object.postCreate (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:101:14)
    at Object.create (https://jsdev.arcgis.com/3.23/init.js:355:366)
    at Object.postscript (https://jsdev.arcgis.com/3.23/init.js:354:104)
    at new <anonymous> (https://jsdev.arcgis.com/3.23/init.js:200:129)
    ----------------------------------------
    rejected at a (https://jsdev.arcgis.com/3.23/init.js:108:174)
    at h (https://jsdev.arcgis.com/3.23/init.js:107:436)
    at d.then.b.then (https://jsdev.arcgis.com/3.23/init.js:110:152)
    at Object._getAllLayers (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:238:14)
    at Object.postCreate (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:101:14)
    at Object.create (https://jsdev.arcgis.com/3.23/init.js:355:366)
    at Object.postscript (https://jsdev.arcgis.com/3.23/init.js:354:104)
    at new <anonymous> (https://jsdev.arcgis.com/3.23/init.js:200:129)
    at Object.<anonymous> (http://MyComputer:3344/webappbuilder/stemapp/jimu.js/WidgetManager.js?wab_dv=2.7:382:29)
    at https://jsdev.arcgis.com/3.23/init.js:63:337
    ----------------------------------------
Error
    at d.then.b.then (https://jsdev.arcgis.com/3.23/init.js:110:97)
    at Object._getAllLayers (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:238:14)
    at Object.postCreate (http://MyComputer:3344/webappbuilder/apps/2/widgets/InfoSummary/setting/Setting.js?wab_dv=2.7:101:14)
    at Object.create (https://jsdev.arcgis.com/3.23/init.js:355:366)
    at Object.postscript (https://jsdev.arcgis.com/3.23/init.js:354:104)
    at new <anonymous> (https://jsdev.arcgis.com/3.23/init.js:200:129)
    at Object.<anonymous> (http://MyComputer:3344/webappbuilder/stemapp/jimu.js/WidgetManager.js?wab_dv=2.7:382:29)
    at https://jsdev.arcgis.com/3.23/init.js:63:337
    at h (https://jsdev.arcgis.com/3.23/init.js:107:277)
    at q (https://jsdev.arcgis.com/3.23/init.js:107:203)"
n @ init.js:114

Thanks,

Irfan Afsar

Outcomes