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

NullPointerException when assigning a world to a user #313

Open
CrUsHoR opened this issue Mar 22, 2022 · 1 comment
Open

NullPointerException when assigning a world to a user #313

CrUsHoR opened this issue Mar 22, 2022 · 1 comment

Comments

@CrUsHoR
Copy link

CrUsHoR commented Mar 22, 2022

When I added a SonarQube server and then try to assign the world to a gamemaster or developer, a NullPointerException is thrown and the modal doesn't close.
Screenshot 2022-03-22 102558
My guess is that when editing a user and assigning him to a world, the backend tries to save the user including the password that is null (there is no password field when editing the user).
I already changed the line 150 in the UserService and added user.getPassword() != null, otherwise it tries to overwrite the password.
At a first glance, this seems to work.
I installed SonarQuest with docker and deactivated CORS. Otherwise I didn't change the configuration.

@surfermicha
Copy link
Collaborator

Thanks for submitting this issue. When you already have created a fix then feel free to open a merge request

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

No branches or pull requests

2 participants