Bug#858876: libjna-jni: causes NoClassDefFoundError
YOSHINO Yoshihito
yy.y.ja.jp at gmail.com
Tue Mar 28 05:41:24 UTC 2017
Package: libjna-jni
Version: 4.2.2-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
netbeans with native look and feel enabled fails to look up libjnidispatch.so:
INFO [org.netbeans.core.nativeaccess.NativeWindowSystemImpl]
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at com.sun.jna.platform.unix.X11.<clinit>(X11.java:380)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.getAlphaVisualIDs(WindowUtils.java:1537)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.isWindowAlphaSupported(WindowUtils.java:1487)
[catch] at com.sun.jna.platform.WindowUtils.isWindowAlphaSupported(WindowUtils.java:1823)
at org.netbeans.core.nativeaccess.NativeWindowSystemImpl.isWindowAlphaSupported(Unknown
Source)
at org.netbeans.core.windows.FloatingWindowTransparencyManager$1.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:745)
This is apparently caused by a change introduced in 4.2.2-1:
> * Renamed the native library to avoid conflicts with other JNA jars used
> on the system (LP: #1065253)
Workaround: Creating a symlink libjnidispatch.so -> libjnidispatch.system.so
fixes this error.
Regards,
--
YOSHINO Yoshihito <yy.y.ja.jp at gmail.com>
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'),
(500, 'oldstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages libjna-jni depends on:
ii libc6 2.24-9
ii libffi6 3.2.1-6
libjna-jni recommends no packages.
libjna-jni suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list