Skip to content

JabRef 5.0 no connection to LibreOffice possible #6353

Closed
@teertinker

Description

JabRef version: JabRef 5.0--2020-03-09--6bff936
Linux 5.4.0-26-generic amd64
Java 13.0.2
Ubuntu 20.04

on

-On my fresh installed Ubuntu 20.04 JabRef 5.0 (snap) fails to connect to LibreOffice (6.4 - no snap app)
-libreoffice-java-common is installed

  • The following error message shows up: Connection failed
java.lang.IllegalStateException: Not on FX application thread; currentThread = pool-3-thread-3
	at org.jabref.merged.module/com.sun.javafx.tk.Toolkit.checkFxUserThread(Unknown Source)
	at org.jabref.merged.module/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(Unknown Source)
	at org.jabref.merged.module/javafx.stage.Stage.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.stage.Stage.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.scene.control.HeavyweightDialog$1.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.scene.control.HeavyweightDialog.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.scene.control.Dialog.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.scene.control.Alert.<init>(Unknown Source)
	at org.jabref.merged.module/javafx.scene.control.Alert.<init>(Unknown Source)
	at org.jabref/org.jabref.gui.FXDialog.<init>(Unknown Source)
	at org.jabref/org.jabref.gui.FXDialog.<init>(Unknown Source)
	at org.jabref/org.jabref.gui.JabRefDialogService.createDialog(Unknown Source)
	at org.jabref/org.jabref.gui.JabRefDialogService.showInformationDialogAndWait(Unknown Source)
	at org.jabref/org.jabref.gui.openoffice.DetectOpenOfficeInstallation.selectInstallationPath(Unknown Source)
	at org.jabref/org.jabref.gui.openoffice.DetectOpenOfficeInstallation.autoDetectPaths(Unknown Source)
	at org.jabref/org.jabref.gui.openoffice.DetectOpenOfficeInstallation.isInstalled(Unknown Source)
	at org.jabref/org.jabref.gui.openoffice.OpenOfficePanel$1.call(Unknown Source)
	at org.jabref/org.jabref.gui.openoffice.OpenOfficePanel$1.call(Unknown Source)
	at org.jabref.merged.module/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
  • I also tried to use manual connection but can't browse to "usr/lib/libreoffice/program" where soffice is located. The folder "libreoffice" just does not show up. All possible permissions were given in Software Center
  • JabRef 4.3.1 connects without any issues.

Metadata

Assignees

No one assigned

    Labels

    platform: snapWhen JabRef is run as a snap on linuxstatus: staleIssues marked by a bot as "stale". All issues need to be investigated manually.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions