I am trying to create IPFS instance using IPFS(String host, int port, String version, boolean ssl) constructor. When I use incorrect value of ssl flag (true instead of false) constructor throws misleading NullPointerException instead of IOException. I use version 1.2.3.
I am trying to create IPFS instance using
IPFS(String host, int port, String version, boolean ssl)
constructor. When I use incorrect value ofssl
flag (true
instead offalse
) constructor throws misleadingNullPointerException
instead ofIOException
. I use version1.2.3
.