Cannot read property 'contentWindow' of null

Uncaught TypeError: Cannot read property 'contentWindow' of null
at Object.onClick (userLogin.do:115)
at Object.apply (jquery.ztree.core-3.5.js:808)
at HTMLUListElement. (jquery.ztree.core-3.5.js:164)
at HTMLUListElement.dispatch (jquery-1.8.2.min.js:3063)
at HTMLUListElement.eventHandle (jquery-1.8.2.min.js:2681)
at Object.trigger (jquery-1.8.2.min.js:2946)
at HTMLUListElement. (jquery-1.8.2.min.js:3604)
at Function.each (jquery-1.8.2.min.js:611)
at init.each (jquery-1.8.2.min.js:241)
at init.trigger (jquery-1.8.2.min.js:3603)
onClick @ userLogin.do:115
apply @ jquery.ztree.core-3.5.js:808
(anonymous) @ jquery.ztree.core-3.5.js:164
dispatch @ jquery-1.8.2.min.js:3063
eventHandle @ jquery-1.8.2.min.js:2681
trigger @ jquery-1.8.2.min.js:2946
(anonymous) @ jquery-1.8.2.min.js:3604
each @ jquery-1.8.2.min.js:611
each @ jquery-1.8.2.min.js:241
trigger @ jquery-1.8.2.min.js:3603
onClickNode @ jquery.ztree.core-3.5.js:768
proxy @ jquery.ztree.core-3.5.js:734
dispatch @ jquery-1.8.2.min.js:3063
eventHandle @ jquery-1.8.2.min.js:2681
userLogin.do:115 Uncaught TypeError: Cannot read property 'contentWindow' of null
at Object.onClick (userLogin.do:115)
at Object.apply (jquery.ztree.core-3.5.js:808)
at HTMLUListElement. (jquery.ztree.core-3.5.js:164)
at HTMLUListElement.dispatch (jquery-1.8.2.min.js:3063)
at HTMLUListElement.eventHandle (jquery-1.8.2.min.js:2681)
at Object.trigger (jquery-1.8.2.min.js:2946)
at HTMLUListElement. (jquery-1.8.2.min.js:3604)
at Function.each (jquery-1.8.2.min.js:611)
at init.each (jquery-1.8.2.min.js:241)
at init.trigger (jquery-1.8.2.min.js:3603)
onClick @ userLogin.do:115
apply @ jquery.ztree.core-3.5.js:808
(anonymous) @ jquery.ztree.core-3.5.js:164
dispatch @ jquery-1.8.2.min.js:3063
eventHandle @ jquery-1.8.2.min.js:2681
trigger @ jquery-1.8.2.min.js:2946
(anonymous) @ jquery-1.8.2.min.js:3604
each @ jquery-1.8.2.min.js:611
each @ jquery-1.8.2.min.js:241
trigger @ jquery-1.8.2.min.js:3603
onClickNode @ jquery.ztree.core-3.5.js:768
proxy @ jquery.ztree.core-3.5.js:734
dispatch @ jquery-1.8.2.min.js:3063
eventHandle @ jquery-1.8.2.min.js:2681
如何处理???

1个回答

看错误可以看得出来读取为null或者读取不到这个值,你是不是读取配置文件里面的值,看参数有没有写错

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐