-
yangyl 初学数据Lv2
发表于2020-2-17 14:19
悬赏1
已解决
楼主
自定义平面图保存成功,返回后再次点击查看或编辑报“Cannot read property 'setAttribute' of null”
详情如下:
JavaScript StackTrace:
TypeError: Cannot read property 'setAttribute' of null
at p.setProperty (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:26145)
at p._initProperties (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:23842)
at p._init (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:22552)
at new p (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:22093)
at k.createSvgArea (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:13917)
at k._createAreaByXML (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:16789)
at k._loadXml (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:15486)
at http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:14591
at QueryObj._onreadystatechange (http://localhost:8080/abi/eui/eui.js:3602:6)
at XMLHttpRequest.hp.onreadystatechange (http://localhost:8080/abi/eui/eui.js:3671:10)
详情如下:
JavaScript StackTrace:
TypeError: Cannot read property 'setAttribute' of null
at p.setProperty (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:26145)
at p._initProperties (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:23842)
at p._init (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:22552)
at new p (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:22093)
at k.createSvgArea (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:13917)
at k._createAreaByXML (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:16789)
at k._loadXml (http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:15486)
at http://localhost:8080/abi/emapmgr/ditu/zdyditu/widgetsvg.js:1:14591
at QueryObj._onreadystatechange (http://localhost:8080/abi/eui/eui.js:3602:6)
at XMLHttpRequest.hp.onreadystatechange (http://localhost:8080/abi/eui/eui.js:3671:10)
4个回答
本帖最后由 yangyl 于 2020-2-17 15:11 编辑
可能BUG。war包版本:员工版 V5.2.2_20191203160911
经分析,是程序读取不到war包中的“xui/images/menu/rule_on.png”文件,导致报错,如图所示:
yangyl 发表于 2020-2-17 15:08
可能BUG。war包版本:员工版 V5.2.2_20191203160911
经分析,是程序读取不到war包中的“xui/images/menu/ru ...