[bisq-network/bisq] [Bug] Transaction was not broadcasted and now TradeDepositTx is null (#3502)

nicebug5 notifications at github.com
Mon Oct 28 18:04:27 UTC 2019


### Description

Posted a trade to sell some BTC, a buyer selected my offer and paid the deposit fee, however for some reason (perhaps I closed the Bisq client forcefully by error) the transaction was never broadcasted.

The trade ID is "aOoHOuC"

Then both traders opened a support ticket and the mediator closed it refunding both users since the trade got stuck at first step. Now a new problem comes again, when I choose to accept mediation an error pop-up appears saying: 

```java
An error occurred at task: SignMediatedPayoutTx
Exception message: trade.getDepositTx() must not be null
```
Now I cannot accept the proposed solution, it always shows that error.

#### Version

Latest as of writing v1.1.7

### Steps to reproduce

I cannot reproduce, believe it was caused due to Bisq was forcefully closed in the middle of the transaction.

### Expected behaviour

Normal trade operation, transaction gets broadcasted and trade continues.

### Actual behaviour

Trade stuck at first step: Wait for blockchain confirmation, transaction id no longer appears after restarting the application.

### Screenshots

![bisq_error](https://user-images.githubusercontent.com/57108783/67704039-4d6a1600-f9ac-11e9-9ece-2582cd6bb232.png)
![bisq_error1](https://user-images.githubusercontent.com/57108783/67704053-52c76080-f9ac-11e9-8ddd-58efd79076bb.png)


#### Device or machine

Debian 9.11

#### Additional info

Some of the logs 

```java
Oct-28 15:37:29.348 [JavaFX Application Thread] WARN  b.c.trade.Trade: depositTx is null 
Oct-28 15:37:29.348 [JavaFX Application Thread] WARN  b.c.trade.Trade: depositTx is null 
Oct-28 15:37:29.348 [JavaFX Application Thread] WARN  b.c.trade.Trade: depositTx is null 
Oct-28 15:37:29.348 [JavaFX Application Thread] WARN  b.c.trade.Trade: depositTx is null 
Oct-28 15:37:35.141 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: ApplyFilter 
Oct-28 15:37:35.144 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: SignMediatedPayoutTx 
Oct-28 15:37:35.160 [JavaFX Application Thread] ERROR b.c.t.Task: An error occurred at task: SignMediatedPayoutTx
Exception message: trade.getDepositTx() must not be null 
Oct-28 15:37:35.161 [JavaFX Application Thread] ERROR b.c.t.TaskRunner: Task failed: SignMediatedPayoutTx / errorMessage: An error occurred at task: SignMediatedPayoutTx
Exception message: trade.getDepositTx() must not be null 
Oct-28 15:37:35.161 [JavaFX Application Thread] ERROR b.c.t.p.TradeProtocol: An error occurred at task: SignMediatedPayoutTx
Exception message: trade.getDepositTx() must not be null 
Oct-28 15:37:35.162 [JavaFX Application Thread] WARN  b.c.t.p.TradeProtocol: cleanupTradableOnFault tradeState=MAKER_RECEIVED_DEPOSIT_TX_PUBLISHED_MSG 
Oct-28 15:37:35.214 [JavaFX Application Thread] WARN  b.d.m.o.p.PopupManager: We got a isHidden called with a wrong popup.
	popup (argument)=Popup{headLine='Mediation result for trade with ID: aOoHOuC', message='The mediator has suggested the following payout:
You receive: XXXXXX BTC
Your trade peer receives: XXXXXX BTC

You can accept or reject this suggested payout.

By accepting it, you sign the proposed payout transaction. If your trade peer also accepts and signs, the payout will be completed, and the trade is closed.

If one or both parties reject the suggestion, a dispute with an arbitrator will be opened. The arbitrator will investigate the case again and do a payout based on their findings.

Please note that arbitrators are not always online and may take longer to respond than mediators. It can take up to 5 business days for them to respond to messages.'}
	displayedPopup=Popup{headLine='Error', message='An error occurred at task: SignMediatedPayoutTx
Exception message: trade.getDepositTx() must not be null'} 

```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3502
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191028/5e984641/attachment.html>


More information about the bisq-github mailing list