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

AbstractKapuaConfigurableResourceLimitedService throws npe if maxNumberChildEntities is not present #3020

Closed
riccardomodanese opened this issue Jul 8, 2020 · 0 comments · Fixed by #3021
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it!

Comments

@riccardomodanese
Copy link
Contributor

Describe the bug
AbstractKapuaConfigurableResourceLimitedService throws npe if maxNumberChildEntities is not present in configuration map due to implicit cast to primitive.
Should be investigated if other implicit casts can throw npe.

To Reproduce
none

Expected behavior
no exception thrown

Screenshots
none

Version of Kapua
1.2.2

Type of deployment
[x] Local Vagrant deployment
[x] Docker
[x] Openshift (in its variants)
[x] Others

Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[x] REST API
[x] Message Broker
[ ] - Others

Additional context
none

@Coduz Coduz added the Bug This is a bug or an unexpected behaviour. Fix it! label Jul 8, 2020
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants