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

[alc] fix nullpointer exception when logging null (#38) #439

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

dtorok
Copy link
Collaborator

@dtorok dtorok commented Sep 4, 2023

Description of changes:
Integration tests highlighted a problem, when logging a null object the runtime crashed with NullPointerException.

With this fix either the log formatter will handle the null value, or the ContextLogger when no formatting is involved, AbstractLogger will just pass it.

Target (OCI, Managed Runtime, both): both


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

* [alc] fix nullpointer exception when logging null

---------

Co-authored-by: Daniel Torok <torokd@amazon.com>
@smirnoal smirnoal merged commit 5777886 into main Sep 4, 2023
2 checks passed
@smirnoal smirnoal deleted the torokd-fix-nullpointer-exception branch September 4, 2023 12:53
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.

None yet

3 participants