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

null pointer exception when editing dashboard with open panel menu #21004

Closed
nreese opened this issue Jul 19, 2018 · 1 comment
Closed

null pointer exception when editing dashboard with open panel menu #21004

nreese opened this issue Jul 19, 2018 · 1 comment
Labels

Comments

@nreese
Copy link
Contributor

nreese commented Jul 19, 2018

Open a dashboard with one or more panels. Open the context menu for a panel
screen shot 2018-07-19 at 1 55 07 pm

Without closing the panel menu, click edit. An error is thrown
screen shot 2018-07-19 at 1 50 55 pm

This is the result of an EUI bug in EuiContextMenuPanel. updateFocus method calls a ref inside requestAnimationFrame. The component is unmounted before the contents of requestAnimationFrame gets called so there is null pointer exeception.

@nreese
Copy link
Contributor Author

nreese commented Jul 19, 2018

Closing since the problem was introduced in EUI 3.0.1 and kibana is still on EUI 3.0.0. EUI releases 3.0.1, 3.0.2, and 3.1.0 should all be avoided because of this problem.

@nreese nreese closed this as completed Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant