question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught exception occured in Thread [JavaFX Application Thread,5,main]

See original GitHub issue

JabRef 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

Steps to reproduce the behavior:

  1. java -jar -Djavafx.embed.singleThread=true JabRef–master–latest.jar
  2. Open 4633.bib.txt
  3. Type “K” in the Searchfield (wait till suggestions)
  4. add “a” in the Searchfield (wait till suggestions)
  5. Error occurs screenshot from 2019-02-07 14-06-58
  6. 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Siedlerchrcommented, Apr 3, 2019

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

1reaction
tobiasdiezcommented, Apr 2, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found