You need to sign in to do that
Don't have an account?
Srinivas S
javaScript error while creating the component from the visualforce page in Latest Chrome Browser if the Locker service is activated.
We are getting the following error upon clicking on a tab which will create lighting component from the javaScript -
Uncaught (in promise) TypeError: Cannot set property 'innerHTML' of null
at AuraInstance.message (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18708)
at AuraInstance.handleError (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18676)
at AuraInstance.$reportError$ (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18685)
at reportError (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18523)
Please help me with any work around.
Thanks,
Srinivas
Uncaught (in promise) TypeError: Cannot set property 'innerHTML' of null
at AuraInstance.message (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18708)
at AuraInstance.handleError (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18676)
at AuraInstance.$reportError$ (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18685)
at reportError (/auraFW/javascript/zsWZWPmRKjQt6GsG2UtCYg/aura_proddebug.js:18523)
Please help me with any work around.
Thanks,
Srinivas
InnerHTML of null means the script is trying to set HTML value but the html markup element is not present in the dom
- http://stackoverflow.com/questions/18239430/cannot-set-property-innerhtml-of-null
it could be that you maybe trying to update some HTML value init or some handler which could cause this issue.It would help if you can paste your code and during which operation this error is coming.
Thanks,
Nagendra.
I am also facing the same issue when i try to load the component from vf page.
Could you please let me know if you have any solution for the same.
Below is my code