fix npe on report dispute button with null payment account
This commit is contained in:
parent
8f310469da
commit
85ee6787cd
1 changed files with 6 additions and 4 deletions
|
@ -739,11 +739,13 @@ public abstract class DisputeView extends ActivatableView<VBox, Void> implements
|
||||||
.append(winner)
|
.append(winner)
|
||||||
.append(")\n");
|
.append(")\n");
|
||||||
|
|
||||||
String buyerPaymentAccountPayload = Utilities.toTruncatedString(
|
String buyerPaymentAccountPayload = firstDispute.getBuyerPaymentAccountPayload() == null ? null :
|
||||||
firstDispute.getBuyerPaymentAccountPayload().getPaymentDetails().
|
Utilities.toTruncatedString(
|
||||||
|
firstDispute.getBuyerPaymentAccountPayload().getPaymentDetails().
|
||||||
replace("\n", " ").replace(";", "."), 100);
|
replace("\n", " ").replace(";", "."), 100);
|
||||||
String sellerPaymentAccountPayload = Utilities.toTruncatedString(
|
String sellerPaymentAccountPayload = firstDispute.getSellerPaymentAccountPayload() == null ? null :
|
||||||
firstDispute.getSellerPaymentAccountPayload().getPaymentDetails()
|
Utilities.toTruncatedString(
|
||||||
|
firstDispute.getSellerPaymentAccountPayload().getPaymentDetails()
|
||||||
.replace("\n", " ").replace(";", "."), 100);
|
.replace("\n", " ").replace(";", "."), 100);
|
||||||
String buyerNodeAddress = contract.getBuyerNodeAddress().getFullAddress();
|
String buyerNodeAddress = contract.getBuyerNodeAddress().getFullAddress();
|
||||||
String sellerNodeAddress = contract.getSellerNodeAddress().getFullAddress();
|
String sellerNodeAddress = contract.getSellerNodeAddress().getFullAddress();
|
||||||
|
|
Loading…
Reference in a new issue