Fix NPE when calling refresh before getting a config at all#237
Fix NPE when calling refresh before getting a config at all#237ibauersachs merged 1 commit intorelease/3.4.xfrom
Conversation
nresare
left a comment
There was a problem hiding this comment.
This seems fine to me. One could argue that making refresh always succeed would make this a tiny bit more straight forward, but I have no strong opinion about this. Approved.
I'm not sure what you mean. Do you see a case where it still fails? |
|
I just meant that if we want My preferred solution would be to move the init code from checkInitialized() to the constructor, as that would man that partially initialised objects (where configProviders are not yet set) would never exist. |
|
939fa89 to
354252b
Compare
|
Kudos, SonarCloud Quality Gate passed! |








Closes #234