# Can't save library

**URL:** <https://discourse.jabref.org/t/cant-save-library/3422>\
**Category:** Help\
**Created:** [June 21, 2022, 5:17pm UTC](https://discourse.jabref.org/t/cant-save-library/3422 "2022-06-21T17:17:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beatriz\_goncalves](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/beatriz_goncalves/32/1402_2.png) [@Beatriz\_goncalves](https://discourse.jabref.org/u/Beatriz_goncalves)\
**Post date:** [June 21, 2022, 5:17pm UTC](https://discourse.jabref.org/t/cant-save-library/3422/1 "2022-06-21T17:17:14Z")

</div>

Hi, when i try to save my library an error appears. This is odd beacuse before i could save it just fine. I used the doi or isbn for all the entries i used.  
The exception stacktrace was:  
"org.jabref.logic.exporter.SaveException: Problems saving: java.nio.file.NoSuchFileException: G:.shortcut-targets-by-id\1EOCzfhtJDHcVJEkAByFQy0meKSMnkthF\Beatriz\_Sofia\_Nuno\Final Structure\References\references\_finalstructure.bib.tmp  
at org.jabref@5.6.60000/org.jabref.gui.exporter.SaveDatabaseAction.saveDatabase(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.gui.exporter.SaveAction.execute(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.gui.actions.JabRefAction.lambda$new$3(Unknown Source)  
at org.jabref.merged.module@5.6.60000/org.controlsfx.control.action.Action.handle(Unknown Source)  
at org.jabref.merged.module@5.6.60000/org.controlsfx.control.action.Action.handle(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.event.Event.fireEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.scene.Node.fireEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.scene.control.Button.fire(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.event.Event.fireEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.scene.Scene$MouseHandler.process(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.scene.Scene.processMouseEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)  
at java.base/java.security.AccessController.doPrivileged(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.glass.ui.View.notifyMouse(Unknown Source)  
at org.jabref.merged.module@5.6.60000/com.sun.glass.ui.win.WinApplication.\_runLoop(Native Method)  
at org.jabref.merged.module@5.6.60000/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: java.nio.file.NoSuchFileException: G:.shortcut-targets-by-id\1EOCzfhtJDHcVJEkAByFQy0meKSMnkthF\Beatriz\_Sofia\_Nuno\Final Structure\References\references\_finalstructure.bib.tmp  
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)  
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)  
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)  
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)  
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)  
at java.base/java.nio.file.Files.newOutputStream(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.logic.exporter.AtomicFileOutputStream.(Unknown Source)  
at org.jabref@5.6.60000/org.jabref.logic.exporter.AtomicFileWriter.(Unknown Source)  
… 61 more  
"  
Can anyone help me understand what is going on please?

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [June 21, 2022, 8:48pm UTC](https://discourse.jabref.org/t/cant-save-library/3422/2 "2022-06-21T20:48:20Z")

</div>

Hi,

thanks for the error report. You hit a bug which can happen when manual save and or multiple autosave trigger at the same time. JabRef first tries to first write the content in a new temporary file and then replaces the original file. If multiple saves trigger at the same time, it can happen that the tmp file is no longer there.  
However, on the next normal save all shoudl be fine again
