Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8217298

java.lang.Error: IP Helper Library GetIpAddrTable function failed

    XMLWordPrintable

Details

    • x86_64
    • windows_10

    Description

      ADDITIONAL SYSTEM INFORMATION :
      last java 8(202), windows 10

      A DESCRIPTION OF THE PROBLEM :
      2019-01-12 15:44:55,355 Thread-3 > java.lang.Error: IP Helper Library GetIpAddrTable function failed
      2019-01-12 15:44:55,357 Thread-3 > at java.net.NetworkInterface.getAll(Native Method)
      2019-01-12 15:44:55,357 Thread-3 > at java.net.NetworkInterface.getNetworkInterfaces(Unknown Source)

      this method doesn't work
      public static void main(String[] args) {
              try {
                  NetworkInterface.getNetworkInterfaces();
              } catch (Throwable t) {
                  t.printStackTrace();
              }
          }


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      call method
      java.net.NetworkInterface.getNetworkInterfaces

      ACTUAL -
      got error

      ---------- BEGIN SOURCE ----------
      public class Main {
          public static void main(String[] args) {
              try {
                  NetworkInterface.getNetworkInterfaces();
              } catch (Throwable t) {
                  t.printStackTrace();
              }
          }
      }
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              psonal Pallavi Sonal (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: