Uncaught exception occured in Thread [JavaFX Application Thread,5,main]
See original GitHub issueJabRef 5.0-dev–snapshot–2019-02-04–master–a0c2e04ea Linux 4.15.0-45-generic amd64 Java 1.8.0_201
JabRef version JabRef 5.0-dev–snapshot–2019-02-04–master–a0c2e04ea on Ubuntu 18.04, maybe related to https://github.com/JabRef/jabref/issues/3431 or https://github.com/JabRef/jabref/issues/4567
- I have tested the latest development version from http://builds.jabref.org/master/ and the problem persists
Steps to reproduce the behavior:
- java -jar -Djavafx.embed.singleThread=true JabRef–master–latest.jar
- Open 4633.bib.txt
- Type “K” in the Searchfield (wait till suggestions)
- add “a” in the Searchfield (wait till suggestions)
- Error occurs

- But you can ignore the error and just continue working
Terminal Output
14:06:20.128 [JavaFX Application Thread] INFO org.jabref.logic.importer.OpenDatabase - Opening: /home/jkalliau/Desktop/4633.bib
14:06:20.933 [JavaFX Application Thread] ERROR org.jabref.logic.citationstyle.CitationStyle - Can only load style files: Preview
14:06:46.201 [JavaFX Application Thread] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]
java.lang.NullPointerException: null
at java.awt.EventQueue$3$1.run(EventQueue.java:714) ~[?:1.8.0_201]
at com.sun.javafx.application.PlatformImpl.lambda$null$397(PlatformImpl.java:295) ~[jfxrt.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
at com.sun.javafx.application.PlatformImpl.lambda$runLater$398(PlatformImpl.java:294) ~[jfxrt.jar:?]
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) ~[jfxrt.jar:?]
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) ~[jfxrt.jar:?]
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$203(GtkApplication.java:139) ~[jfxrt.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Uncaught exception occured in Thread [JavaFX Application Thread,5,main]
java.lang.NullPointerException
at java.awt.EventQueue$3$1.run(EventQueue.java:714)
at com.sun.javafx.application.PlatformImpl.lambda$null$397(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$398(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$203(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:748)
Log Protocoll
Can only load style files: Preview
Can only load style files: Preview
Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Uncaught Exception occurred in Thread[JavaFX Application ...
Steps to reproduce the behavior: Open JabRef with .bib file; Double click on entry to open entry editor; Exception is thrown. Log File....
Read more >Exception in thread "JavaFX Application ... - Stack Overflow
I am using 6 major fxml files. All of them work except browse.fxml. Exception in thread "JavaFX Application Thread" java.lang.
Read more >Uncaught exception when saving a new Name formatter - Help
Hi, When I try to save the preferences after adding a new Formatter name I get “Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]”...
Read more >JabRef/jabref - Gitter
Uncaught exception occurred in Thread [JavaFX Application Thread,5,main] Uncaught exception occurred in Thread[AWT-EventQueue-0,6,main] java.lang.
Read more >How to Handle Died Threads due to Uncaught Exceptions in ...
In concurrent applications a thread might fail and die due to uncaught runtime exceptions even without noticing since the application may continue to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just for your information, you no longer need the -Djavafx.embed.singleThread=true switch as we now more or less completely removed the old swing stuff.
There have been just some changes merged which could make this obsolete. But please wait until #4840 is resolved
This should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.