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

java/nio/channels/DatagramChannel/ManySenders.java failing on Ubuntu18.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 14
    • core-libs

    Description


      NetworkInterface.getByInetAddress(lh) returns null, leading to this NPE:

      STDERR:
      java.lang.NullPointerException
      at ManySenders.main(ManySenders.java:52)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              aefimov Aleksej Efimov
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: