Integrated: Fix NPE in 'notes' filter after SKARA-1316

Erik Joelsson erikj at openjdk.java.net
Wed Jan 19 19:34:58 UTC 2022


On Wed, 19 Jan 2022 19:22:10 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> The fix for SKARA-1316 resulted in NPE in several cases. It appears the field "target_type" is often explicitly set to null. To mitigate this, I added a null check and moved this filter a bit lower in the order (so we only apply it to notes that are a bit closer to what we want).

This pull request has now been integrated.

Changeset: ab4c9f4f
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/ab4c9f4fc47c9918c4bc54de205b1bb641c6635d
Stats:     5 lines in 1 file changed: 3 ins; 2 del; 0 mod

Fix NPE in 'notes' filter after SKARA-1316

Reviewed-by: kcr

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

PR: https://git.openjdk.java.net/skara/pull/1277


More information about the skara-dev mailing list