-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
scrollTop
Virtualizer error in HA core logs
#17745
Comments
maybe related, I can open a separate issue if not:
More come later.
|
We added a bunch more error logging, so errors that previously would not show up, now do show up in the logs. Meaning these errors might not be related to beta, but now show up in beta 🙃 and we should still try to fix them ofc I see some custom card errors in there |
Seeing the same - when casting to a Google Mini logs are filled
|
As Bram noted, #17616 added and enhanced error logging for the frontend, so most of these have probably been just going uncaught before now. Scanning the errors that have been posted, I'd say most of these are probably separate issues and should be taken one at a time. In short, each unique error message and stack trace should be a separate issue. If it occurs on and gets logged from different browsers and OSs, that can just be noted in the issue. It would also help if possible to know exactly the steps taken before it throws. |
ScrollTop virtualizer issue reproduction:
Edit: Bisect indicated 4598b53 is the first bad commit |
Thanks @silamon for the research! Very helpful |
Filed an issue with lit: lit/lit#4182 Looking at their source, I'm not sure of the exact cause, but they are asserting the controller is not null, so it's definitely their bug. |
This is a better stacktrace for the addEventListener being reported here. Uncaught (in promise) TypeError: Cannot read properties of null (reading 'addEventListener') It's most likely reproduceable on the energy dashboard and resizing your screen, although I spotted it the first upon opening Home Assistant directly through the energy dashboard url. EDIT: chartjs/Chart.js#11295 |
We should open a separate issue for that chart.js error |
Quick update: waiting on a merge of lit/lit#4233 to fix this. |
Checklist
Describe the issue you are experiencing
I've noticed two errors in Home Assistant Core logs whilst running 2023.9.0b0:
(the first seems to be more important)
If these errors aren't related, I can split up this issue and open another issue if wanted.
Describe the behavior you expected
That no errors show up in the log.
Steps to reproduce the issue
Unclear for now. Perhaps related to:
What version of Home Assistant Core has the issue?
core-2023.9.0b0
What was the last working version of Home Assistant Core?
core-2023.8.4
In which browser are you experiencing the issue with?
Google Chrome 116.0.5845.96
Which operating system are you using to run this browser?
macOS Sonoma (14.0) Dev Beta 6
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: