I'm having the same issue with custom widgets- using WAB 1.1. In using Robert Scheitlin, GISPwidgets, only the basemap widget works without any issues. Share and Elevation Profile will throw this error. Other custom widgets also seem to throw the error as well.
Christopher,
Did you add the new widget to your client\stemapp\widgets AND your actual apps copy of that widget
server\apps\xyz\widgets?
panel [widgets/Share/Widget_19_panel] created.
WidgetManager.js:101 create [widgets/Share/Widget] error:TypeError: Cannot read property 'remove' of null
at declare._setExtentChecked (http://computer.esri.com:3344/webappbuilder/apps/2/widgets/Share/Widget.js:119:25)
at declare.postCreate (http://computer.esri.com:3344/webappbuilder/apps/2/widgets/Share/Widget.js:67:14)
at k.create (http://js.arcgis.com/3.13/init.js:1123:348)
at k.postscript (http://js.arcgis.com/3.13/init.js:1122:99)
at new <anonymous> (http://js.arcgis.com/3.13/init.js:108:192)
at declare.createWidget (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js:252:20)
at null.<anonymous> (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js:98:39)
at g.hitch (http://js.arcgis.com/3.13/init.js:177:296)
at k (http://js.arcgis.com/3.13/init.js:199:431)
at m (http://js.arcgis.com/3.13/init.js:199:357)
init.js:209 TypeError: Cannot read property 'remove' of null {stack: (...), message: "Cannot read property 'remove' of null"} "TypeError: Cannot read property 'remove' of null
----------------------------------------
rejected at a (http://js.arcgis.com/3.13/init.js:200:337)
at k (http://js.arcgis.com/3.13/init.js:200:103)
at x.reject (http://js.arcgis.com/3.13/init.js:202:143)
at null.<anonymous> (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js:105:25)
at f.resolve (http://js.arcgis.com/3.13/init.js:201:441)
at null.<anonymous> (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js:162:17)
Error
at f.then.b.then [as then] (http://js.arcgis.com/3.13/init.js:202:253)
at null.<anonymous> (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js:65:53)
at Object.g.forEach (http://js.arcgis.com/3.13/init.js:229:250)
at declare.loadAllWidgetsInOrder (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js:55:13)
at declare.startup (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js:44:12)
at n (http://js.arcgis.com/3.13/init.js:106:103)
at declare.startup (http://computer.esri.com:3344/webappbuilder/apps/2/themes/FoldableTheme/panels/FoldablePanel/FoldableDijit.js:41:14)
at declare.startup (http://computer.esri.com:3344/webappbuilder/apps/2/themes/FoldableTheme/panels/FoldablePanel/Panel.js:75:14)
at null.<anonymous> (http://computer.esri.com:3344/webappbuilder/apps/2/jimu.js/PanelManager.js:96:19)"
Chris,
I branched this to a new question as it is really not the same as issue as the other thread.
Do you see anything in your browsers web console.
Hi Robert,
Thanks for the quick reply... I redownloaded 1.1.1 and it's still having the same issue. I've closed out of the app builder, restarted the bat file, cleared cache etc. Fiddler doesn't show any errors either.
Thanks,
Chris
For the elevation widget, I have not put out a version that works with 1.1 yet. In version 1.1 of Web AppBuilder something broke this widget and I have not had time to focus on getting a version out that works with 1.1. For the Share widget there is a 1.1.1 version available that I developed for 1.1.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.