java.net.SocketException: No such device

yellowgrass.org | 4 months ago
  1. 0

    webdriver-manager start crashes

    GitHub | 2 years ago | map7
    java.net.SocketException: No such device
  2. 0

    Network issue on a Selenium node

    Google Groups | 3 years ago | Simon
    java.net.SocketException: errno: 0, error: IOCTL SIOCGLIFFLAGS failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    From https://builds.apache.org/job/ZooKeeper_branch34/1587/ {noformat} Error Message No such device Stacktrace java.net.SocketException: No such device at java.net.NetworkInterface.isLoopback0(Native Method) at java.net.NetworkInterface.isLoopback(NetworkInterface.java:339) at org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress(ClientPortBindTest.java:61) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:55) Standard Output 2016-07-21 05:58:50,388 [myid:] - INFO [main:ZKTestCase$1@50] - STARTING testBindByAddress 2016-07-21 05:58:50,393 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@53] - RUNNING TEST METHOD testBindByAddress 2016-07-21 05:58:50,405 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@74] - TEST METHOD FAILED testBindByAddress java.net.SocketException: No such device at java.net.NetworkInterface.isLoopback0(Native Method) at java.net.NetworkInterface.isLoopback(NetworkInterface.java:339) at org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress(ClientPortBindTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:55) at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030) 2016-07-21 05:58:50,408 [myid:] - INFO [main:ZKTestCase$1@65] - FAILED testBindByAddress java.net.SocketException: No such device at java.net.NetworkInterface.isLoopback0(Native Method) at java.net.NetworkInterface.isLoopback(NetworkInterface.java:339) at org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress(ClientPortBindTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:55) at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030) 2016-07-21 05:58:50,409 [myid:] - INFO [main:ZKTestCase$1@55] - FINISHED testBindByAddress {noformat}

    Apache's JIRA Issue Tracker | 5 months ago | Michael Han
    java.net.SocketException: No such device

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      No such device

      at java.net.NetworkInterface.isLoopback0()
    2. Java RT
      NetworkInterface.isLoopback
      1. java.net.NetworkInterface.isLoopback0(Native Method)
      2. java.net.NetworkInterface.isLoopback(NetworkInterface.java:390)
      2 frames
    3. Selenium
      NetworkUtils.<init>
      1. org.openqa.selenium.net.NetworkInterface.<init>(NetworkInterface.java:41)
      2. org.openqa.selenium.net.DefaultNetworkInterfaceProvider.createInterface(DefaultNetworkInterfaceProvider.java:75)
      3. org.openqa.selenium.net.DefaultNetworkInterfaceProvider.<init>(DefaultNetworkInterfaceProvider.java:51)
      4. org.openqa.selenium.net.NetworkUtils.<init>(NetworkUtils.java:34)
      4 frames
    4. selenium-firefox-driver
      FirefoxDriver.startClient
      1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.<clinit>(NewProfileExtensionConnection.java:47)
      2. org.openqa.selenium.firefox.FirefoxDriver.connectTo(FirefoxDriver.java:271)
      3. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:240)
      3 frames
    5. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
      1 frame
    6. selenium-firefox-driver
      FirefoxDriver.<init>
      1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
      2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
      3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
      4. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
      4 frames
    7. utils
      Test.getFirefoxDriver
      1. utils.Test.getFirefoxDriver(Test.java:123)
      1 frame
    8. webdsl.generated.functions
      getFirefoxDriver_.getFirefoxDriver_
      1. webdsl.generated.functions.getFirefoxDriver_.getFirefoxDriver_(getFirefoxDriver_.java:18)
      1 frame
    9. webdsl.generated.test
      Test0.run
      1. webdsl.generated.test.Test0.run(Test0.java:48)
      1 frame
    10. utils
      TestWeb.main
      1. utils.TestWeb.runTests(TestWeb.java:26)
      2. utils.TestAll.runInWebAppContainer(TestAll.java:164)
      3. utils.TestWeb.main(TestWeb.java:37)
      3 frames