From 341ae2bef03ef6663b4165aa80bd7d170b82a7a0 Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 3 Jun 2022 16:20:23 -0400 Subject: [PATCH] fix NPE selecting Western Union in legacy app --- .../desktop/components/paymentmethods/WesternUnionForm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/main/java/bisq/desktop/components/paymentmethods/WesternUnionForm.java b/desktop/src/main/java/bisq/desktop/components/paymentmethods/WesternUnionForm.java index 4e6b2d14..b5bea066 100644 --- a/desktop/src/main/java/bisq/desktop/components/paymentmethods/WesternUnionForm.java +++ b/desktop/src/main/java/bisq/desktop/components/paymentmethods/WesternUnionForm.java @@ -180,7 +180,7 @@ public class WesternUnionForm extends PaymentMethodForm { @Override protected void autoFillNameTextField() { - setAccountNameWithString(westernUnionAccountPayload.getHolderName()); + setAccountNameWithString(westernUnionAccountPayload.getHolderName() == null ? "" : westernUnionAccountPayload.getHolderName()); } @Override