laptop and a wrench

Error

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.

Última publicación: June 12, 2018 ArcGIS API for JavaScript
Número de ID del error BUG-000112546
EnviadoMarch 19, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.23
Sistema operativoWindows OS
Versión de sistema operativo7.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000112546

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga