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.
上次发布: June 12, 2018ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000112546
已提交
March 19, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.23
操作系统
Windows OS
操作系统版本
7.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.
解决办法
The current workaround is to follow step no. 5 of the second JS BIN link above.