[bisq-network/bisq] Fix NullPointerException with external tor usage (#4365)

Daniel Dawson notifications at github.com
Thu Jul 9 17:17:15 UTC 2020


If `torControlPort` is specified, but neither `torControlPassword` nor `torControlCookieFile` are specified, we have `cookieFile == null` in `bisq.network.p2p.network.RunningTor`, but `RunningTor.getTor()` assumes a cookie file has been specified and tries to check that the file exists, causing the thread to crash. Added a check for `null` to fix this.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4365

-- Commit Summary --

  * Fix NullPointerException with external tor usage

-- File Changes --

    M p2p/src/main/java/bisq/network/p2p/network/RunningTor.java (2)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4365.patch
https://github.com/bisq-network/bisq/pull/4365.diff

-- 
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/pull/4365
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200709/762ab602/attachment.html>


More information about the bisq-github mailing list