commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kanatoko <an...@jumperz.net>
Subject NET SubnetUtil exception on /31 and /32
Date Tue, 01 Nov 2011 02:17:58 GMT
Hello list,

new SubnetUtils( "1.2.3.4/32" ).getInfo().getAllAddresses()

throws Exception blow.
--
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
$SubnetInfo.getAllAddresses(SubnetUtils.java:166)
--

Tested on commons-net-3.0.1.
/31 as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message