Still freezes on macOS High Sierra
Steps to reproduce:
- Open Jabref
- File - Import into new library
- Choose file and click "open"
- Freezes
Same thing happens when importing into current library. Tried the hostname solution, no luck.
JabRef 4.2 Mac OS X 10.13.4 x86_64 Java 1.8.0_172
I can confirm I have the same issue as well.
My setup: JabRef 4.2, macOS 10.13.4 and Java build 1.8.0_171-b11
Try to change the Look and Feel, we recently had many problems + freeze reports with the GTK Look and Feel.
EDIT: I can see it in the preferences file, I'll try change it from there.
Apologies if I'm missing something obvious, but is that option available in macOS? FAQ says:
"It seems that the GTKLookAndFeel is causing these problems and selecting a different look and feel class under Options -> Appearance -> Look and Feel solves the problem."
But I can't find that option in macOS...
Thanks for the help.
Is there a way to list the available look and feel themes in the system?
I tried editing ~/Library/Preferences/com.apple.java.util.prefs
for Jabref shows:
<key>lookAndFeel</key>
<string>com.apple.laf.AquaLookAndFeel</string>
I tried javax.swing.plaf.metal.MetalLookAndFeel and javax.swing.plaf.metal.SynthLookAndFeel but in both cases it reverts back to the default look and feel...
Normally you should be able to switch it in JabRef, as the FAQ says, you have to change the Look and Feel in JabRef. Not on the system It should list all available styles.
That's strange. On macOS there's no "Options -> Appearance", the closest would be "Options -> Preferences --> Appearance", and these are all the options available, I don't see any way to change the look and feel:

@LinusDietz can you take a look? Old versions can be found here https://github.com/JabRef/jabref/releases
Same problem on OpenSuse 42.3. Jabref 4.1 works, version 4.2 freezes on import of bibentries, same for the latest development version.
Thanks, I fond it. It is really tricky that there was not the release panel when you are in the issue panel on GitHub.
在 2018年5月1日,16:30,Christoph [email protected] 写道:
@LinusDietz https://github.com/LinusDietz can you take a look? Old versions can be found here https://github.com/JabRef/jabref/releases https://github.com/JabRef/jabref/releases — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JabRef/jabref/issues/3995#issuecomment-385624637, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ3aYLQRSGsjxPx2MgoT9TE9Ja4KbQJIks5tuB0OgaJpZM4Trit3.
@PUKK Do you get any errors in the log? At which point does it freeze? Opening the file dialog? Showing the import inspection window?
@urielz Could you please try out this version to change the style? https://builds.jabref.org/removeGTK/
I found out that for some reason the look and feel selection was disabled on OSX
I can confirm that the import issue is (only) with the GTKLookAndFeel.
Unfortunately, I seemed to have some older look-and-feel options in my preferences and I changed to one which apparently does not exist anymore. I had to remove all Jabref config files to get Jabref started again :-( With the default look-and-feel I do not experience the import problem anymore.
@PUKK That's nice to hear. I will try to add a migration to the default look and feel, in case an older look and feel is found
There seems to be a problem with Jabref completely crashing (no GUI coming up) if it does not find some fonts.
This also happens in the default look-and-feel. I went to "override default font setting" and increased "menu and lable font size" from 13 to 14. One has to restart for the changes to take effect and then Jabref does not start (which is nasty since one does not get access to the preferences menu anymore). Output in the terminal:
[AWT-EventQueue-0] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[AWT-EventQueue-0,6,main]
java.lang.ClassCastException: java.awt.Font cannot be cast to javax.swing.plaf.FontUIResource
at org.jabref.JabRefGUI.setLookAndFeel(JabRefGUI.java:288) ~[JabRef-4.Xdev.jar:?]
at org.jabref.JabRefGUI.openWindow(JabRefGUI.java:87) ~[JabRef-4.Xdev.jar:?]
at org.jabref.JabRefGUI.
I could confirm this on my linux VM. will try to fix this asap Try running java -jar JabRef.jar -d all to reset preferences Refs #3986
@urielz Could you please try out this version to change the style? https://builds.jabref.org/removeGTK/
I found out that for some reason the look and feel selection was disabled on OSX
@Siedlerchr Thanks for looking into this. I can change the look and feel with that version, unfortunately the problem still persists. I tried all four options but Jabref still hangs when importing.
@urielz Okay, thanks for your feedback. Could you please describe where exactly it freezes? This helps us to narrow it down a bit.
- Does it show the Fille Open dialog?
- Does the import start?
- Does the import inspection window occur?
@Siedlerchr It shows the File Open Dialog, but it hangs right after I tried to open a file (bib, ris, etc).
If there's a way to run JabRef in debug mode I can give it a try.
You can try it from command line java -jar JabRef.jar Any errors should be printed out on the console
I tried that before and it gives me an error along the lines "Unsupported major.minor version". Maybe related to the fact that I don't have JDK? or the correct Java version? I'll try to look into this later today.
You might have java 9 or an older version than 8 of Java installed. I am sorry, I don't own a mac, so I can't help you any further. Maybe @halirutan or @LinusDietz can help you any further