openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13190
[Bug 1792792] [NEW] Missing field preferIPv6Address in openjdk 10 code
Public bug reported:
Seen trying to run the jitsi sip softphone on ubuntu bionic.
The code complains:
Exception in thread "main" java.lang.NoSuchFieldError: preferIPv6Address
at java.base/java.net.InetAddress.init(Native Method)
at java.base/java.net.InetAddress.<clinit>(InetAddress.java:337)
at java.base/java.net.NetworkInterface.init(Native Method)
at java.base/java.net.NetworkInterface.<clinit>(NetworkInterface.java:68)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.findLocalAddress(SipCommunicatorLock.java:513)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.readLockFile(SipCommunicatorLock.java:413)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.readLockFileRetrying(SipCommunicatorLock.java:358)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.tryLock(SipCommunicatorLock.java:154)
at net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:139)
The jitsi developers observe that this is not an issue with jitsi,
rather with openjdk:
"This particular problem is a bug in Java itself rather than in Jitsi. The native InetAddress code tries to access a field declared in Java, preferIPv6Address.
It's not something we can fix. We're only using documented and supported API here."
And recommend reporting the issue to the distribution.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openjdk-11-jre 10.0.2+13-1ubuntu0.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Sep 16 15:10:23 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-12-12 (1738 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: openjdk-lts
UpgradeStatus: Upgraded to bionic on 2018-06-08 (99 days ago)
** Affects: openjdk-lts (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic third-party-packages
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1792792
Title:
Missing field preferIPv6Address in openjdk 10 code
Status in openjdk-lts package in Ubuntu:
New
Bug description:
Seen trying to run the jitsi sip softphone on ubuntu bionic.
The code complains:
Exception in thread "main" java.lang.NoSuchFieldError: preferIPv6Address
at java.base/java.net.InetAddress.init(Native Method)
at java.base/java.net.InetAddress.<clinit>(InetAddress.java:337)
at java.base/java.net.NetworkInterface.init(Native Method)
at java.base/java.net.NetworkInterface.<clinit>(NetworkInterface.java:68)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.findLocalAddress(SipCommunicatorLock.java:513)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.readLockFile(SipCommunicatorLock.java:413)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.readLockFileRetrying(SipCommunicatorLock.java:358)
at net.java.sip.communicator.util.launchutils.SipCommunicatorLock.tryLock(SipCommunicatorLock.java:154)
at net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:139)
The jitsi developers observe that this is not an issue with jitsi,
rather with openjdk:
"This particular problem is a bug in Java itself rather than in Jitsi. The native InetAddress code tries to access a field declared in Java, preferIPv6Address.
It's not something we can fix. We're only using documented and supported API here."
And recommend reporting the issue to the distribution.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openjdk-11-jre 10.0.2+13-1ubuntu0.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Sep 16 15:10:23 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-12-12 (1738 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: openjdk-lts
UpgradeStatus: Upgraded to bionic on 2018-06-08 (99 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1792792/+subscriptions
Follow ups