[bisq-network/bisq] NullPointerException at ChainDownloadSpeedCalculator.calculate (#4928)

chimp1984 notifications at github.com
Thu Dec 10 01:56:15 CET 2020


<!--
   SUPPORT REQUESTS: This is for reporting bugs in the Bisq app.
   If you have a support request, please join #support on Bisq's
   Keybase team at https://keybase.io/team/Bisq
-->

### Description
NullPointerException at ChainDownloadSpeedCalculator.calculate
Happened with a very slow connection.

Also many log like those:

Dec-09 19:47:28.194 [PeerGroup Thread] INFO  o.b.c.PeerGroup$ChainDownloadSpeedCalculator: 0 blocks/sec, 0 tx/sec, 0 pre-filtered tx/sec, avg/last 0.00/0.00 kilobytes per sec, chain/common height 660243/0, stall disabled (threshold <0.78 KB/sec for 10 seconds) 
Dec-09 19:47:29.192 [PeerGroup Thread] INFO  o.b.c.PeerGroup$ChainDownloadSpeedCalculator: 0 blocks/sec, 0 tx/sec, 0 pre-filtered tx/sec, avg/last 0.00/0.00 kilobytes per sec, chain/common height 660243/0, stall disabled (threshold <0.78 KB/sec for 10 seconds) 


#### Additional info
Dec-09 19:47:22.193 [PeerGroup Thread] WARN  o.b.c.PeerGroup$ChainDownloadSpeedCalculator: Chain download stalled: received 0.00 KB/sec for 10 seconds, require average of 0.78 KB/sec, disconnecting null, 3 stalls left 
Dec-09 19:47:22.193 [PeerGroup Thread] ERROR o.b.c.PeerGroup$ChainDownloadSpeedCalculator: Error in speed calculator java.lang.NullPointerException: null
	at org.bitcoinj.core.PeerGroup$ChainDownloadSpeedCalculator.calculate(PeerGroup.java:1959)
	at org.bitcoinj.core.PeerGroup$ChainDownloadSpeedCalculator.run(PeerGroup.java:1876)
	at com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:679)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
	at java.base/java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:305)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51)
	at java.base/java.lang.Thread.run(Thread.java:844)


-- 
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/4928
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201209/ab412784/attachment.htm>


More information about the bisq-github mailing list