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

Bela Ban (JIRA) issues at jboss.org
Thu Feb 13 01:45:29 EST 2014


     [ https://issues.jboss.org/browse/JGRP-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-1791:
---------------------------

    Fix Version/s: 3.5

    
> 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, 3.5
>
>
> The interface lo does not exist on certain OSs, so the test fails with this exception on HPUX:
> {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