Skip to content

🐛 [Core] Added null check on serviceConfigurationManager to prevent NPE #4368

Open
Coduz wants to merge 2 commits intoeclipse-kapua:developfrom
Coduz:fix-kapuaConfigurableServiceBaseNPE
Open

🐛 [Core] Added null check on serviceConfigurationManager to prevent NPE #4368
Coduz wants to merge 2 commits intoeclipse-kapua:developfrom
Coduz:fix-kapuaConfigurableServiceBaseNPE

Conversation

@Coduz
Copy link
Copy Markdown
Contributor

@Coduz Coduz commented Mar 13, 2026

This PR fixes a NPE in KapuaConfigurableServiceBase when serviceConfigurationManager is not correctly initialised and the Map of available ServiceConfigurationManages does not contain the requested entry.

Related Issue
None

Description of the solution adopted
Added a null check on init.

Screenshots
None

Any side note on the changes made
Fixed init of DeviceConnectionServiceImpl to be the same as other ServiceImpls init

Coduz added 2 commits March 13, 2026 16:05
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
@Coduz Coduz added the Bug This is a bug or an unexpected behaviour. Fix it! label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug This is a bug or an unexpected behaviour. Fix it!

Projects

Development

Successfully merging this pull request may close these issues.

1 participant