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

[Backport stable/8.0] NPE during logging #310

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

github-actions[bot]
Copy link

Description

Backport of #307 to stable/8.0.

relates to #305

Variable with a value of null would produce a NPE during the logging of the record stream. This nullcheck fixes this issue.

(cherry picked from commit 9279741)
This class was mostly not tested. We tested if we had a logger for all records, but we did not test the fucntionality of the logger itself. It doesn't contain much logic but by adding some tests around it we can hopefully prevent NPE's in the future.

(cherry picked from commit ba7227d)
@github-actions github-actions bot mentioned this pull request Apr 12, 2022
7 tasks
@remcowesterhoud remcowesterhoud self-requested a review April 12, 2022 08:26
@remcowesterhoud remcowesterhoud merged commit 49fe09a into stable/8.0 Apr 12, 2022
@remcowesterhoud remcowesterhoud deleted the backport-307-to-stable/8.0 branch April 12, 2022 08:26
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