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
- duplicates
-
JDK-8235193 (dc) Remove JNI overhead from DatagramChannel.send implementation
- Resolved
- relates to
-
JDK-8234805 (dc) Remove JNI upcall from DatagramChannel.receive implementation
- Resolved