Bug 1659335

Summary: After weekly update, JabRef will not start: missing library?
Product: [Fedora] Fedora Reporter: Paul DeStefano <prd-fedora>
Component: java-1.8.0-openjdkAssignee: Deepak Bhole <dbhole>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: ahughes, dbhole, jerboaa, jvanek, msrb, mvala, omajid, qoheniac, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-14 08:28:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul DeStefano 2018-12-14 06:06:44 UTC
Description of problem:
This application worked last week.  After dnf upgrade, it will not start.  UnsatisfiedLinkError exception.  Looks like the needed java library is just missing.  I don't know what happened.

Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64

How reproducible:
Since Sunday, always.

Steps to Reproduce:
1. Download the latest JabRef https://www.fosshub.com/JabRef.html
2. java -jar jabref.jar


Actual results:
$ jabref
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64/jre/lib/amd64/libglassgtk2.so
        at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:267)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
        at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
        at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
        ... 5 more
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64/jre/lib/amd64/libglassgtk2.so
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
        at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
        at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
        at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:151)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:140)
        at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
        at com.sun.glass.ui.Application.run(Application.java:146)
        at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:257)
        ... 9 more



Additional info:
I know there have been problems in the past with JabRef and OpenJDK.  But, it was working just a couple days ago.

Comment 1 Severin Gehwolf 2018-12-14 08:28:53 UTC
This is a an integration problem of OpenJDK with OpenJFX, which has been reported before. OpenJFX has received an update recently which made this problem show up. Marking as duplicate.

*** This bug has been marked as a duplicate of bug 1657485 ***

Comment 2 qoheniac 2019-01-12 21:48:18 UTC
I still have this problem with openjfx-8.0.202-2.b02.fc29.x86_64.

Comment 3 Severin Gehwolf 2019-01-14 09:47:27 UTC
Yes, sorry. Apparently the missing link fix wasn't pushed to the stable branches yet. I'll see what I can do about that today. Thanks for the nudge!