-
-
Notifications
You must be signed in to change notification settings - Fork 532
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 in JSON Deserializer #47
Labels
bug
Something isn't working
Comments
obviously the key
|
Thanks for the report. |
I'll prepare and test a pull request |
mc1arke
pushed a commit
that referenced
this issue
Nov 19, 2019
Where a Pull Request no longer has a target branch - such as happens when the branch is deleted from SonarQube after the Pull Request is analysed - the `base` field in the branch information will be `null`. To prevent a `NullPointerException` being thrown in this scenario, an explicit check is being added for this field being `null` before attempting to extract the text value from it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Our jenkins pipeline worked well, but then I deleted a long living branch in sonarqube (not in git!) to be able to rename the default branch from master to the name of the long living branch. Then the pipeline stopped to work.
Expected behavior
The gradle plugin should run even if there is no existing analysis.
Stacktrace
Software Versions
The text was updated successfully, but these errors were encountered: