Help needed: Cannot open bib files anymore

Hello,
today I did try to modify a .bib file with a text editor, because I wanted to add static Groups to my file. I worked with a backup file, and did miss the correct pattern. My problem appeared afterwards. JabRef won’t open any .bib file anymore. Even those files I have been using without any problems.

What I already tried: Reset my preferences & restart the computer.

Jabref always starts normal - but without any files open. When I try to open a bib file, the following exception windows is raised:

java.lang.ClassCastException: class javafx.scene.control.Tab cannot be cast to class org.jabref.gui.LibraryTab (javafx.scene.control.Tab is in module org.jabref.merged.module@5.2.376 of loader 'app'; org.jabref.gui.LibraryTab is in module org.jabref@5.2.376 of loader 'app')
at org.jabref@5.2.376/org.jabref.gui.JabRefFrame.lambda$init$8(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.MappedList.get(Unknown Source)
at java.base/java.util.AbstractList$Itr.next(Unknown Source)
at java.base/java.util.AbstractList$SubList$1.next(Unknown Source)
at java.base/java.util.AbstractList.addAll(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ModifiableObservableListBase.addAll(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.ListContentBinding.onChanged(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ObservableListBase.fireChange(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.MappedList.sourceChanged(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.transformation.TransformationList.lambda$getListener$0(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.WeakListChangeListener.onChanged(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ObservableListBase.fireChange(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ListChangeBuilder.commit(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ListChangeBuilder.endChange(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ObservableListBase.endChange(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.collections.ModifiableObservableListBase.add(Unknown Source)
at java.base/java.util.AbstractList.add(Unknown Source)
at org.jabref@5.2.376/org.jabref.gui.JabRefFrame.lambda$initDragAndDrop$1(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.event.Event.fireEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.scene.Scene$DnDGesture.fireEvent(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.scene.Scene$DnDGesture.processTargetEnterOver(Unknown Source)
at org.jabref.merged.module@5.2.376/javafx.scene.Scene$DropTargetListener.dragEnter(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragEnter$0(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragEnter(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragEnter$9(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragEnter(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.glass.ui.View.handleDragEnter(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.glass.ui.View.notifyDragEnter(Unknown Source)
at org.jabref.merged.module@5.2.376/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at org.jabref.merged.module@5.2.376/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

Hopefully somebody can help me.

Edit - working on:
JabRef 5.2–2020-12-24–6a2a512
Linux 5.8.0-45-generic amd64
Java 15.0.1

Hi,

this issue has been recently fixed. It had something to do with Drag and Drop. Please try the latest development version:
https://builds.jabref.org/master/

Remember to make a backup of your library before trying out the version

Thank you so much! It’s working again.

1 Like