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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1792792

Title:
  Missing field preferIPv6Address in openjdk 10 code

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1792792/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to