If not USER_TOKEN is present the plugin throw a NullPointerException java.lang.NullPointerException at com.talanlabs.sonar.plugins.gitlab.GitLabApiV4Wrapper.createOrUpdateSonarQubeStatus (GitLabApiV4Wrapper.java:211).
It would be better if the plugin pointed out that this variable is missing.
After some research, I wonder if the user token is really optional. Maybe you get the project information without user tokens but at the latest when commenting on the commits you need the user token.
If not
USER_TOKEN
is present the plugin throw a NullPointerExceptionjava.lang.NullPointerException at com.talanlabs.sonar.plugins.gitlab.GitLabApiV4Wrapper.createOrUpdateSonarQubeStatus (GitLabApiV4Wrapper.java:211)
.It would be better if the plugin pointed out that this variable is missing.
After some research, I wonder if the user token is really optional. Maybe you get the project information without user tokens but at the latest when commenting on the commits you need the user token.
Can you confirm the behavior?