[jboss-jira] [JBoss JIRA] (JGRP-1791) PropertyConvertersTest.testNetworkList fails when trying to access interface lo

Richard Achmatowicz (JIRA) issues at jboss.org
Wed Feb 12 13:17:29 EST 2014


Richard Achmatowicz created JGRP-1791:
-----------------------------------------

             Summary: PropertyConvertersTest.testNetworkList fails when trying to access interface lo
                 Key: JGRP-1791
                 URL: https://issues.jboss.org/browse/JGRP-1791
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.2.13
         Environment: HPUX, Solaris
            Reporter: Richard Achmatowicz
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.2.13


The interface lo does not exist on certain OSs, so the test fails with this exception:

{noformat}
Error Message
lo
Stacktrace
java.net.UnknownHostException 
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) 
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:883) 
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1236)
at java.net.InetAddress.getAllByName0(InetAddress.java:1187) 
at java.net.InetAddress.getAllByName(InetAddress.java:1117) 
at java.net.InetAddress.getAllByName(InetAddress.java:1053) 
at java.net.InetAddress.getByName(InetAddress.java:1003) 
at org.jgroups.util.Util.parseInterfaceList(Util.java:3225) 
at org.jgroups.conf.PropertyConverters$NetworkInterfaceList.convert(PropertyConverters.java:34) 
at org.jgroups.tests.PropertyConvertersTest.testNetworkList(PropertyConvertersTest.java:41) 
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list