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

Fix NPE #6254

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Fix NPE #6254

merged 1 commit into from
Sep 1, 2024

Conversation

chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Sep 1, 2024

Related to #6199 (comment)

Display.getCurrent() is null already when stop is called. So check for null and only execute if not null. Since it was called when quitting Eclipse, it is probably very late in the process where most things are already shutdown.

This is a similar fix as to the one in #6223

Display.getCurrent() is null already when stop is called. So check for null and only execute if not null. Since it was called when quitting Eclipse, it is probably very late in the process where most things are already shutdown.

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger merged commit 3a93b28 into bndtools:master Sep 1, 2024
9 checks passed
@chrisrueger
Copy link
Contributor Author

@pkriens just FYI i merged this because I think it is low risk and similar to #6223

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

Successfully merging this pull request may close these issues.

1 participant