From dfaf39bab3f1d7702dc6b2f027cf95e4b08c8c12 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 1 Feb 2024 08:10:26 -0500 Subject: [PATCH] fix chat message npe resolving trade's second dispute --- .../haveno/desktop/main/support/dispute/DisputeChatPopup.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeChatPopup.java b/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeChatPopup.java index c0a9efecbb..d22f8b97da 100644 --- a/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeChatPopup.java +++ b/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeChatPopup.java @@ -149,6 +149,8 @@ public class DisputeChatPopup { // Delay display to next render frame to avoid that the popup is first quickly displayed in default position // and after a short moment in the correct position - UserThread.execute(() -> chatPopupStage.setOpacity(1)); + UserThread.execute(() -> { + if (chatPopupStage != null) chatPopupStage.setOpacity(1); + }); } }