Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Release 0.3.8 (NOT RELEASED YET)

* [Fixed Issue 282][issue-282]

`NullPointerException` may be thrown if `upstreamUrl` is `null` when
converting cause to `BuildCause` object.

* [Fixed Issue 268][issue-268]

NullPointerException is thrown unless isRunning() is called first.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ private BuildCause convertToBuildCause(Map<String, Object> cause) {
}

String upstreamUrl = (String) cause.get("upstreamUrl");
if (!Strings.isNullOrEmpty(upstreamProject)) {
if (!Strings.isNullOrEmpty(upstreamUrl)) {
cause_object.setUpstreamUrl(upstreamUrl);
}

Expand Down