[bisq-network/bisq] Failed trade; unable to open support; Cannot invoke "org.bitcoinj.core.Transaction.getLockTime()" because the return value of "bisq.core.trade.Trade.getDelayedPayoutTx()" is null (Issue #5796)

Ryan Crispin Heneise notifications at github.com
Tue Nov 2 15:48:51 CET 2021


### Description

I have a failed trade, maybe caused by my computer crashing at an inopportune time. 

The trade failed with this message: 

> The peer's taker fee transaction is missing.
> With out this tx, the trade cannot be completed. No funds have been locked. Your offer is still available to other traders, so you have not lost the maker fee. You can move this trade to failed trades. 

The next screen says: 

> Open support ticket
> Thre is an issue with a missing or invalid transaction. 
> Please do NOT send the fiat or altcoin payment. 
> Open a support ticket to get assistance from a Mediator. 
> Error message: Validation of Taker Tx returned: [Tx not found]

Clicking Open Support Ticket returns the following error: 

> Cannot invoke "org.bitcoinj.core.Transaction.getLockTime()" because the return value of "bisq.core.trade.Trade.getDelayedPayoutTx()" is null



#### Version

v1.7.5

### Steps to reproduce

1. Trade is in a failed state
2. Click "Move trade to open trades" and click "Yes" to confirm
3. Click Open Trades. 
4. Dialog pops up; click "Open Support Ticket"
5. Error is raised. 

### Expected behaviour

Support request is opened.

### Actual behaviour

Error is raised: 

> Cannot invoke "org.bitcoinj.core.Transaction.getLockTime()" because the return value of "bisq.core.trade.Trade.getDelayedPayoutTx()" is null

### Screenshots

![image](https://user-images.githubusercontent.com/234/139870083-d5ceeaf5-f0e0-4904-a0b4-1e51c53c468b.png)


![image](https://user-images.githubusercontent.com/234/139868989-a0268133-69ea-40bb-b174-dc6804a46832.png)


#### Device or machine

<!-- device/machine used, operating system -->
MacOs 11.6 (20G165) 
MacBook Pro (16-inch, 2019) 2.3 GHz 8-Core Intel Core i9


#### Additional info

```
#################################################################
Connected to node: wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000
Received 11 instances from a GetUpdatedDataRequest
MailboxStoragePayload: 4 / 12.884 kB
AccountAgeWitness: 2 / 62 B
OfferPayload: 5 / 8.799 kB
################################################################# 
Nov-02 09:28:32.921 [JavaFX Application Thread] INFO  b.n.p.s.P2PDataStorage: Processing 9 protectedStorageEntries took 1 ms. 
Nov-02 09:28:32.921 [JavaFX Application Thread] INFO  b.n.p.s.P2PDataStorage: Processing 2 persistableNetworkPayloads took 0 ms. 
Nov-02 09:28:32.921 [JavaFX Application Thread] INFO  b.n.p.p.g.RequestDataHandler: Processing GetDataResponse took 1 ms 
Nov-02 09:28:34.132 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have 12 connections open. Our limit is 12 
Nov-02 09:28:35.728 [JavaFX Application Thread] WARN  b.c.trade.Trade: delayedPayoutTxBytes are null 
Nov-02 09:28:35.728 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Uncaught Exception from thread JavaFX Application Thread 
Nov-02 09:28:35.728 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableMessage= Cannot invoke "org.bitcoinj.core.Transaction.getLockTime()" because the return value of "bisq.core.trade.Trade.getDelayedPayoutTx()" is null 
Nov-02 09:28:35.728 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableClass= class java.lang.NullPointerException 
Nov-02 09:28:35.731 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Stack trace:
java.lang.NullPointerException: Cannot invoke "org.bitcoinj.core.Transaction.getLockTime()" because the return value of "bisq.core.trade.Trade.getDelayedPayoutTx()" is null
	at bisq.desktop.main.portfolio.pendingtrades.PendingTradesDataModel.doOpenDispute(PendingTradesDataModel.java:496)
	at bisq.desktop.main.portfolio.pendingtrades.PendingTradesDataModel.tryOpenDispute(PendingTradesDataModel.java:458)
	at bisq.desktop.main.portfolio.pendingtrades.PendingTradesDataModel.onOpenSupportTicket(PendingTradesDataModel.java:243)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at bisq.desktop.main.overlays.Overlay.lambda$addButtons$12(Overlay.java:950)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Node.fireEvent(Node.java:8889)
	at javafx.scene.control.Button.fire(Button.java:203)
	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:208)
	at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Scene$MouseHandler.process(Scene.java:3856)
	at javafx.scene.Scene.processMouseEvent(Scene.java:1851)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2584)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
	at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
	at com.sun.glass.ui.View.notifyMouse(View.java:942)
	at com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)
 
Nov-02 09:28:40.908 [MempoolRequest @ http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/tx] INFO  b.n.h.HttpClientImpl: Received errorMsg 'Invalid hex string' with statusCode 400 from http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/tx. Response took: 12620 ms. param: /null 
Nov-02 09:28:40.910 [MempoolRequest @ http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/tx] WARN  b.c.p.m.MempoolService: onFailure - java.io.IOException: Error at doRequestWithProxy with url http://mempoolhqx4isw62xs7abwphsq7ldayuidyx2v2oethdhhj6mlo2r6ad.onion/api/tx and param /null. Throwable=Invalid hex string 
Nov-02 09:28:40.911 [MempoolRequest @ http://mempoolcutehjtynu4k4rd746acmssvj2vz4jbz4setb72clbpx2dfqd.onion/api/tx] INFO  b.c.p.m.MempoolRequest: Making http request for information on txId: null 
Nov-02 09:28:41.459 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Trying to exec: cmd = open args = %s file = /Users/ryenski/Library/Application Support/Bisq/bisq.log 
Nov-02 09:28:41.463 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Process is running. 
Nov-02 09:28:59.652 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We did not received a response from provider http://devinpndvdwll4wiqcyq5e7itezmarg7rzicrvf6brzkwxdm374kmmyd.onion/. We select the new provider http://aprcndeiwdrkbf4fq7iozxbd27dl72oeo76n7zmjwdi4z34agdrnheyd.onion/ and use that for a new request. 
Nov-02 09:28:59.653 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We have a pending request open. We ignore that request. httpClient HttpClientImpl{
     socks5ProxyProvider=bisq.network.Socks5ProxyProvider at 3989b9ff,
     baseUrl='http://aprcndeiwdrkbf4fq7iozxbd27dl72oeo76n7zmjwdi4z34agdrnheyd.onion/',
     ignoreSocks5Proxy=false,
     uid='b4776e82-6375-444d-a02f-c7cfb6ae9f06',
     connection=null,
     httpclient=org.apache.http.impl.client.InternalHttpClient at 748cad9f
} 
Nov-02 09:29:05.881 [JavaFX Application Thread] INFO  b.c.util.GcUtil: Invoke garbage collector. Total memory: 1.204 GB 1292894208 1048576000 
Nov-02 09:29:06.373 [JavaFX Application Thread] INFO  b.c.util.GcUtil: Total memory after gc() call: 614 MB 
Nov-02 09:29:06.373 [MempoolRequest @ http://mempoolcutehjtynu4k4rd746acmssvj2vz4jbz4setb72clbpx2dfqd.onion/api/tx] INFO  b.n.h.HttpClientImpl: Received errorMsg 'Invalid hex string' with statusCode 400 from http://mempoolcutehjtynu4k4rd746acmssvj2vz4jbz4setb72clbpx2dfqd.onion/api/tx. Response took: 25462 ms. param: /null 
Nov-02 09:29:06.374 [MempoolRequest @ http://mempoolcutehjtynu4k4rd746acmssvj2vz4jbz4setb72clbpx2dfqd.onion/api/tx] WARN  b.c.p.m.MempoolService: onFailure - java.io.IOException: Error at doRequestWithProxy with url http://mempoolcutehjtynu4k4rd746acmssvj2vz4jbz4setb72clbpx2dfqd.onion/api/tx and param /null. Throwable=Invalid hex string 
Nov-02 09:29:06.379 [JavaFX Application Thread] INFO  b.c.p.m.TxValidator: Tx not found : FAIL 
Nov-02 09:29:06.379 [JavaFX Application Thread] INFO  b.d.m.p.p.PendingTradesView: Taker fee validation returned 0 
Nov-02 09:29:06.379 [JavaFX Application Thread] WARN  b.d.m.p.p.PendingTradesViewModel: Validation of Taker Tx returned: [Tx not found] 
Nov-02 09:29:07.997 [NetworkNode:SendMessage-to-gsvr3l3z5klycqy7mabkrroa2zn723tsjlg7ofqg4kaad5batnu777yd.onion:9999] INFO  b.n.p.n.NetworkNode: Socket creation to peersNodeAddress gsvr3l3z5klycqy7mabkrroa2zn723tsjlg7ofqg4kaad5batnu777yd.onion:9999 took 53642 ms 
Nov-02 09:29:07.999 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: Num of latestLivePeers=10 
Nov-02 09:29:18.013 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have 13 connections open. Our limit is 12 
Nov-02 09:29:18.013 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have too many connections open. Lets try first to remove the inbound connections of type PEER. 
Nov-02 09:29:18.014 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: checkMaxConnections: Num candidates for shut down=0. We close oldest connection to peer Optional[4ipbfnw7xpctzs664ebafx4g6uvbp7dte6laf5h7zme3pwm35zp75pad.onion:9999] 
Nov-02 09:29:18.223 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: onDisconnect called: nodeAddress=Optional[4ipbfnw7xpctzs664ebafx4g6uvbp7dte6laf5h7zme3pwm35zp75pad.onion:9999], closeConnectionReason=CloseConnectionReason{sendCloseMessage=true, isIntended=true} TOO_MANY_CONNECTIONS_OPEN 
Nov-02 09:29:18.225 [JavaFX Application Thread] INFO  b.n.p.p.p.PeerExchangeManager: onDisconnect closeConnectionReason=CloseConnectionReason{sendCloseMessage=true, isIntended=true} TOO_MANY_CONNECTIONS_OPEN, nodeAddressOpt=Optional[4ipbfnw7xpctzs664ebafx4g6uvbp7dte6laf5h7zme3pwm35zp75pad.onion:9999] 
Nov-02 09:29:18.332 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have 12 connections open. Our limit is 12 
Nov-02 09:29:40.516 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: Num of latestLivePeers=11 
Nov-02 09:29:48.837 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have 13 connections open. Our limit is 12 
Nov-02 09:29:48.838 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have too many connections open. Lets try first to remove the inbound connections of type PEER. 
Nov-02 09:29:48.838 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: checkMaxConnections: Num candidates for shut down=0. We close oldest connection to peer Optional[evakqp5qpxv736bo6sbuiqfk5rdk5mswsevclkcmvvckkcigopp37dyd.onion:9999] 
Nov-02 09:29:49.045 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: onDisconnect called: nodeAddress=Optional[evakqp5qpxv736bo6sbuiqfk5rdk5mswsevclkcmvvckkcigopp37dyd.onion:9999], closeConnectionReason=CloseConnectionReason{sendCloseMessage=true, isIntended=true} TOO_MANY_CONNECTIONS_OPEN 
Nov-02 09:29:49.045 [JavaFX Application Thread] INFO  b.n.p.p.p.PeerExchangeManager: onDisconnect closeConnectionReason=CloseConnectionReason{sendCloseMessage=true, isIntended=true} TOO_MANY_CONNECTIONS_OPEN, nodeAddressOpt=Optional[evakqp5qpxv736bo6sbuiqfk5rdk5mswsevclkcmvvckkcigopp37dyd.onion:9999] 
Nov-02 09:29:49.153 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have 12 connections open. Our limit is 12 
Nov-02 09:29:59.668 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We did not received a response from provider http://aprcndeiwdrkbf4fq7iozxbd27dl72oeo76n7zmjwdi4z34agdrnheyd.onion/. We select the new provider http://emzypricpidesmyqg2hc6dkwitqzaxrqnpkdg3ae2wef5znncu2ambqd.onion/ and use that for a new request. 
Nov-02 09:29:59.668 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We have a pending request open. We ignore that request. httpClient HttpClientImpl{
     socks5ProxyProvider=bisq.network.Socks5ProxyProvider at 3989b9ff,
     baseUrl='http://emzypricpidesmyqg2hc6dkwitqzaxrqnpkdg3ae2wef5znncu2ambqd.onion/',
     ignoreSocks5Proxy=false,
     uid='b4776e82-6375-444d-a02f-c7cfb6ae9f06',
     connection=null,
     httpclient=org.apache.http.impl.client.InternalHttpClient at 748cad9f
} 
Nov-02 09:30:59.670 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We did not received a response from provider http://emzypricpidesmyqg2hc6dkwitqzaxrqnpkdg3ae2wef5znncu2ambqd.onion/. We select the new provider http://ro7nv73awqs3ga2qtqeqawrjpbxwarsazznszvr6whv7tes5ehffopid.onion/ and use that for a new request. 
Nov-02 09:30:59.670 [JavaFX Application Thread] WARN  b.c.p.p.PriceFeedService: We have a pending request open. We ignore that request. httpClient HttpClientImpl{
     socks5ProxyProvider=bisq.network.Socks5ProxyProvider at 3989b9ff,
     baseUrl='http://ro7nv73awqs3ga2qtqeqawrjpbxwarsazznszvr6whv7tes5ehffopid.onion/',
     ignoreSocks5Proxy=false,
     uid='b4776e82-6375-444d-a02f-c7cfb6ae9f06',
     connection=null,
     httpclient=org.apache.http.impl.client.InternalHttpClient at 748cad9f
} 
Nov-02 09:31:20.498 [JavaFX Application Thread] INFO  b.c.p.f.FeeService: BTC tx fee: txFeePerVbyte=11 minFeePerVbyte=2 
Nov-02 09:32:06.873 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: Connection statistics: 


```


-- 
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/5796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211102/5bfe104c/attachment-0001.htm>


More information about the bisq-github mailing list