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

[management] NullPointerException when deleting a group #8320

Closed
phiz71 opened this issue Aug 16, 2022 · 1 comment
Closed

[management] NullPointerException when deleting a group #8320

phiz71 opened this issue Aug 16, 2022 · 1 comment

Comments

@phiz71
Copy link
Member

phiz71 commented Aug 16, 2022

After a migration from a version < 3.8, when I delete a group, I have this error:
Cannot invoke "java.util.Set.stream()" because the return value of "io.gravitee.repository.management.model.Page.getAccessControls()" is null

@phiz71 phiz71 added this to the APIM - 3.18.x milestone Aug 16, 2022
@phiz71 phiz71 self-assigned this Aug 16, 2022
phiz71 added a commit to gravitee-io/gravitee-api-management that referenced this issue Aug 16, 2022
- fix 3.8 migration script
- add null checks to prevent NPE

gravitee-io/issues#8320
phiz71 added a commit to gravitee-io/gravitee-api-management that referenced this issue Aug 16, 2022
- fix 3.8 migration script
- add null checks to prevent NPE

gravitee-io/issues#8320
@phiz71
Copy link
Member Author

phiz71 commented Aug 16, 2022

Reproduce the bug on dev environment is too complex for this kind if fix.
It has been successfully tested locally with @gcusnieux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants