ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
538 stars 243 forks source link

NullPointerException when incorrect SSL flag is set to IPFS constructor #142

Closed vsbogd closed 1 year ago

vsbogd commented 4 years ago

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.

gjeanmart commented 4 years ago

Fixed in PR #148