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 undefined (reading 'length') #19073

Closed
alexanoid opened this issue Mar 29, 2024 · 2 comments · Fixed by #19098
Closed

Cannot read properties of undefined (reading 'length') #19073

alexanoid opened this issue Mar 29, 2024 · 2 comments · Fixed by #19098

Comments

@alexanoid
Copy link

Description of the bug

One of my user reported the following error:

undefined_error

I'm unable to reproduce it personally.

Could you please tell me what it could be?

Expected behavior

no errors

Minimal reproducible example

n/a

Versions

  • Vaadin / Flow version: 24.4.0.alpha18
  • Java version: 17
@caalador
Copy link
Contributor

caalador commented Apr 4, 2024

This would seem to be from a call in event listener handling getting an undefined for a specified type.
This should be a random failure and I'll add a fix that at least this case doesn't happen, but if there comes any more information on how it happens it would be good to know.

@caalador caalador self-assigned this Apr 4, 2024
caalador added a commit that referenced this issue Apr 4, 2024
Return an empty list if no
listeners for type exist.

Fixes #19073
caalador added a commit that referenced this issue Apr 4, 2024
Return an empty list if no
listeners for type exist.

Fixes #19073
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha21 and is also targeting the upcoming stable 24.4.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants