Skip to content

Conversation

@garyrussell
Copy link
Contributor

Resolves #2345

I haven't been able to reproduce it since, but I saw one occasion where
the existing config property returned null.

Protect against an NPE in that case and add the property to the change
candidates.

Also move the map entry out of the for loop.

cherry-pick to 2.9.x, 2.8.x

Resolves spring-projects#2345

I haven't been able to reproduce it since, but I saw one occasion where
the existing config property returned null.

Protect against an NPE in that case and add the property to the change
candidates.

Also move the map entry out of the for loop.

**cherry-pick to 2.9.x, 2.8.x**
@artembilan artembilan merged commit c978b86 into spring-projects:main Jul 12, 2022
@artembilan
Copy link
Member

... and cherry-picked to 2.9.x & 2.8.x

@garyrussell garyrussell deleted the GH-2345 branch July 13, 2022 14:04
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.

KafkaAdmin NPE

2 participants