Hi, The parameter "stringList" final List<string> stringList = ProcessUtil.executeProcessAndGetOutputAsStringList(command); passed to IcmpPingResponse executePingRequest(final List<string> stringList) {...} may contain empty lines.</string></string> 2.OpenBSD ping may reports: ping: wrote 192.168.100.43 64 chars, ret=-1 ping: sendto: Host is down
Hi, The parameter "stringList" final List<string> stringList = ProcessUtil.executeProcessAndGetOutputAsStringList(command); passed to IcmpPingResponse executePingRequest(final List<string> stringList) {...} may contain empty lines.</string></string> 2.OpenBSD ping reports: ping: wrote 192.168.100.43 64 chars, ret=-1 ping: sendto: Host is down
Check, in LinuxNativeBridge.java: final String responseAddress = StringUtil.parseString( string, "from ", " "); final String ttlAsString = StringUtil.parseString( string, "ttl=", " "); On linux (tested on Debian Buster), the response may be: "From nnn.nnn.nnn.nnn icmp_seq=3 Destination Host Unreachable" so both responseAddress and ttlAsString are null. The following final int ttl = Integer.parseInt(ttlAsString); raises NumberFormatException; Same for rttAsString;