Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1791

PropertyConvertersTest.testNetworkList fails when trying to access interface lo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.2.13, 3.5
    • 3.2.13
    • None

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

      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) 
      

              rhn-engineering-bban Bela Ban
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: