laptop and a wrench

Bug

The error message, "Cannot set property 'innerHTML' of null " is returned when destroying the LayerList widget on on("load") event in ArcGIS API for JavaScript 3.23.

Last Published: June 12, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000112546
SubmittedMarch 19, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.23
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This would not work since users are automatically trying to call startup on an instance of myWidget that no longer exists (since the users just destroyed it). Set the timer if need to use in this workflow.

Workaround

The current workaround is to follow step no. 5 of the second JS BIN link above.

Steps to Reproduce

Bug ID: BUG-000112546

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options