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 when getting native thread id #15301

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

kaisecheng
Copy link
Contributor

@kaisecheng kaisecheng commented Sep 2, 2023

Fix: #15300, #14961

The tests fail to shutdown old pipeline when the native thread returns null. It throws NPE when constructing pipeline report

@kaisecheng kaisecheng changed the title Fix agent_spec NPE when getting native thread id Fix NPE when getting native thread id Sep 5, 2023
Copy link
Contributor

@roaksoax roaksoax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@roaksoax roaksoax linked an issue Sep 14, 2023 that may be closed by this pull request
@kaisecheng kaisecheng merged commit cd78558 into elastic:main Sep 14, 2023
@kaisecheng
Copy link
Contributor Author

@logstashmachine backport 8.10

@kaisecheng
Copy link
Contributor Author

@logstashmachine backport 7.17

github-actions bot pushed a commit that referenced this pull request Sep 14, 2023
This commit adds null guard to get the native thread when constructing pipeline report

Fix: #15300
(cherry picked from commit cd78558)
github-actions bot pushed a commit that referenced this pull request Sep 14, 2023
This commit adds null guard to get the native thread when constructing pipeline report

Fix: #15300
(cherry picked from commit cd78558)
kaisecheng added a commit that referenced this pull request Sep 14, 2023
This commit adds null guard to get the native thread when constructing pipeline report

Fix: #15300
(cherry picked from commit cd78558)

Co-authored-by: kaisecheng <[email protected]>
kaisecheng added a commit that referenced this pull request Sep 14, 2023
This commit adds null guard to get the native thread when constructing pipeline report

Fix: #15300
(cherry picked from commit cd78558)

Co-authored-by: kaisecheng <[email protected]>
dliappis pushed a commit to dliappis/logstash that referenced this pull request Sep 20, 2023
This commit adds null guard to get the native thread when constructing pipeline report

Fix: elastic#15300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants