-
Notifications
You must be signed in to change notification settings - Fork 521
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
[INLONG-5694][Manager] Fix the problem that gets the inlong group error #5695
Conversation
suggest searching for similar code snippets in case there are more like this |
I find this article,They gave a solution, I tried it and it works: https://stackoverflow.com/questions/24630963/nullpointerexception-in-collectors-tomap-with-null-entry-values |
|
Agreed. |
Yes, that article just tells why the NPE occurs, and then provides a workaround. |
Prepare a Pull Request
Motivation
Make sure the group information of initsort failure can be viewed normally
Modifications
This ensures that no null pointer exception will be reported when getting the sort configuration information.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework/code cleanup without any test coverage.
This change is already covered by existing tests, such as:
(please describe tests)
This change added tests and can be verified as follows:
Documentation