Updating to Jabref 5.2 results in exception with UNC path missing sharename

I was using 5.1 with my rather larger Bibtex database and updated to 5.2 today. Both the file and the actual references sit in DropBox, which hasn’t been an issue in the past as it is automatically synced locally. Today, however, after closing Jabref 5.1 and updating to 5.2, opening either the file or the program resulted in an uncaught exception in Thread[JavaFX Application Thread,5,main] stating that 'UNC path is missing sharename: \ filename.pdf. The folder menu is displayed but no entries. If I enter the bibtext using a text editor and eliminate the file reference that is called out, it simply proceeds to another file, leaving the repository unusable. Reinstalling the program or moving the repository makes no difference.
Unfortunately I’m in the middle of writing a paper and this is highly inconvenient. Any help would be most appreciated.
The exception stacktrace reads:
java.nio.file.InvalidPathException: UNC path is missing sharename: \AANEM2008.pdf
at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.base/java.nio.file.Path.of(Unknown Source)
at org.jabref@5.2.60000/org.jabref.logic.importer.util.FileFieldParser.convert(Unknown Source)
at org.jabref@5.2.60000/org.jabref.logic.importer.util.FileFieldParser.parse(Unknown Source)
at java.base/java.util.Optional.map(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$1.computeValue(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$1.computeValue(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.beans.binding.ObjectBinding.get(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.beans.binding.ObjectExpression.getValue(Unknown Source)
at com.tobiasdiez.easybind@2.1.0/com.tobiasdiez.easybind.optional.PreboundOptionalBinding$3.computeValue(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.beans.binding.ObjectBinding.get(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.beans.binding.ObjectExpression.getValue(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.TableCell.updateItem(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.TableCell.indexChanged(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.IndexedCell.updateIndex(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.TableRowSkinBase.updateCells(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.TableRowSkinBase.(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.TableRowSkin.(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.TableRow.createDefaultSkin(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.Control.doProcessCSS(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.Control$1.doProcessCSS(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.scene.control.ControlHelper.processCSSImpl(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.scene.NodeHelper.processCSS(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Node.processCSS(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Node.applyCss(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.VirtualFlow.setCellIndex(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.VirtualFlow.addTrailingCells(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.control.skin.VirtualFlow.layoutChildren(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Parent.layout(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Scene.doLayoutPass(Unknown Source)
at org.jabref.merged.module@5.2.60000/javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.Toolkit.runPulse(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at org.jabref.merged.module@5.2.60000/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at org.jabref.merged.module@5.2.60000/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

Hi,

Please try the latest development version. A similar bug has just been fixed in the latest master.
You can get it from https://builds.jabref.org
It’s recommended to make a backup of your library before trying out the new version.

Regards

1 Like

Thanks. That worked fine.
Back in business!

1 Like