Integrated: Fix NPE in toString

Erik Joelsson erikj at openjdk.org
Mon Aug 8 21:22:12 UTC 2022


On Mon, 8 Aug 2022 21:04:54 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> My patch in SKARA-1530 did unfortunately trigger NPE in the toString() methods of all subclasses of PullRequestWorkItem. This is because the pr field isn't initialized in the constructor anymore. The repository is available through the bot field however.

This pull request has now been integrated.

Changeset: 990ac8fb
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/990ac8fb40d1c2943b680631d7dac7aa30844236
Stats:     3 lines in 3 files changed: 0 ins; 0 del; 3 mod

Fix NPE in toString

Reviewed-by: kcr

-------------

PR: https://git.openjdk.org/skara/pull/1351


More information about the skara-dev mailing list