8000 Fix NPE in `SessionDiagnosticsObject::onShutdown` by kevinherron · Pull Request #1447 · eclipse-milo/milo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix NPE in SessionDiagnosticsObject::onShutdown #1447

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

Merged
merged 1 commit into from
Apr 26, 2025
Merged

Conversation

kevinherron
Copy link
Contributor

Because the SessionDiagnosticObject was added to the sessionDiagnosticsObjects map before having startup() called, it was possible that during shutdown we could attempt to shut down a SessionDiagnosticObject that hadn't been started yet, and therefore had null fields.

fixes #1445

Because the `SessionDiagnosticObject` was added to the `sessionDiagnosticsObjects` map before having `startup()` called, it was possible that during shutdown we could attempt to shut down a `SessionDiagnosticObject` that hadn't been started yet, and therefore had `null` fields.

fixes #1445
@kevinherron kevinherron added this to the 1.0.0-M2 milestone Apr 26, 2025
@kevinherron kevinherron merged commit a62e0da into 1.0 Apr 26, 2025
6 checks passed
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.

NPE in SessionSecurityDiagnosticsVariable::shutdown
1 participant
0