Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null (reading 'shadowRoot') #84 #1

Closed
Mariusthvdb opened this issue Jun 20, 2022 · 6 comments
Closed

Cannot read properties of null (reading 'shadowRoot') #84 #1

Mariusthvdb opened this issue Jun 20, 2022 · 6 comments
Labels
🐛 bug Something isn't working 🙋 help wanted Extra attention is needed

Comments

@Mariusthvdb
Copy link

please see the original issue at Maykar's repo maykar/kiosk-mode#84

will you be able to 'clone' these issues too? and, if yes, be willing to see what can be done to prevent this from happening?

Sincere hopes (and thanks btw!) you can maintain the repo, because it was too nice to not keep up with current Dashboard

2022-01-05 12:51:05 ERROR (MainThread) [frontend.js.latest.202112290] https://mydomain/local/lovelace/resources/kiosk-mode/kiosk-mode.js?v=1.2.1:13:44 Uncaught TypeError: Cannot read properties of null (reading 'shadowRoot')

keeps showing in the log, not exactly sure when or why any user action causes this.
please have a look?

@cedev-modexpeng
Copy link

I also have this popping up. I tried adding kiosk-mode to my config.yaml file but didn't change anything.

2022-09-20 18:40:10.166 ERROR (MainThread) [frontend.js.latest.202208020] http://10.147.17.75:8123/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128173:13:51 TypeError: null is not an object (evaluating 'e.shadowRoot.querySelector("hui-root").shadowRoot')

@NemesisRE NemesisRE added 🐛 bug Something isn't working 🙋 help wanted Extra attention is needed labels Jan 16, 2023
@Mariusthvdb
Copy link
Author

Mariusthvdb commented Mar 22, 2023

is this still happening? tbh, I dont see them anymore. Otoh, I got so fed up with frontend errors in the HA log, I filtered those with:

  frontend.js.latest: fatal

so, if someone will confirm, we can close?

@elchininet
Copy link
Collaborator

Hey @Mariusthvdb,
I wanted to ask the same because I had something in mind if this was still happening.
Maybe it got solved with the latest changes that I did.
Let‘s left it open for some days to see if someone else responds, if not it can be closed.

@elchininet
Copy link
Collaborator

Hi @Mariusthvdb,
Could you check one more time if this error is showing for you in your logs?
Regards

@Mariusthvdb
Copy link
Author

Mariusthvdb commented May 9, 2023

sure, as I said above, I dont see these anymore, but I've filtered the errors to 'fatal'

I'll restart using no filter and check again

update

no more, so lets close!
thanks for you ongoing efforts !

@jamincollins
Copy link

I am seeing this error:

Aug 16 20:59:29 home-assistant hass[843]: 2023-08-16 20:59:29.136 ERROR (MainThread) [frontend.js.latest.202306080] https://domain_here/local/kiosk-mode.js:13:44 Uncaught TypeError: Cannot read properties of null (reading 'shadowRoot')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🙋 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants