Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR BackupManager Error while saving to file #5871

Closed
1 task done
bernhard-kleine opened this issue Jan 25, 2020 · 1 comment
Closed
1 task done

ERROR BackupManager Error while saving to file #5871

bernhard-kleine opened this issue Jan 25, 2020 · 1 comment

Comments

@bernhard-kleine
Copy link

bernhard-kleine commented Jan 25, 2020

JabRef 5.0-beta.364--2020-01-25--0407d9a
Windows 7 6.1 amd64
Java 13.0.2

This error has been hidden behind error "The library has been changed by another program"
Steps to reproduce the behavior:

  1. Start Jabref and open a fresh library, save it to a file
  2. Open the medline search and start looking for PMID 29045901.
  3. Import the entry and save the library.
  4. There is not any apparent error in the library. However, since Jabref opens an command prompt for reasons of "ERROR StatusLogger Log4j2 could not find a logging implementation", you will see in that window the ERROR BackupManager Error while saving to file.
Log File
ERROR BackupManager Error while saving to fileK:\BuchprojektSpringer\VierteAuflage\Literatur\test7.bib.sav
ERROR BackupManager Error while saving to fileK:\BuchprojektSpringer\VierteAuflage\Literatur\test7.bib.sav
java.nio.file.FileSystemException: K:\BuchprojektSpringer\VierteAuflage\Literatur\test7.bib.sav.bak: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.

      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.WindowsFileCopy.copy(Unknown Source)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(Unknown Source)
      at java.base/java.nio.file.Files.copy(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.AtomicFileOutputStream.close(Unknown Source)
      at java.base/sun.nio.cs.StreamEncoder.implClose(Unknown Source)
      at java.base/sun.nio.cs.StreamEncoder.close(Unknown Source)
      at java.base/java.io.OutputStreamWriter.close(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.savePartOfDatabase(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.saveDatabase(Unknown Source)
      at org.jabref/org.jabref.logic.autosaveandbackup.BackupManager.performBackup(Unknown Source)
      at java.base/java.util.Optional.ifPresent(Unknown Source)
      at org.jabref/org.jabref.logic.autosaveandbackup.BackupManager.lambda$startBackupTask$2(Unknown Source)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: K:\BuchprojektSpringer\VierteAuflage\Literatur\test7.bib.sav.tmp -> K:\BuchprojektSpringer\VierteAuflage\Literatur\test7.bib.sav
      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.WindowsFileCopy.move(Unknown Source)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
      at java.base/java.nio.file.Files.move(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.AtomicFileOutputStream.close(Unknown Source)
      at java.base/sun.nio.cs.StreamEncoder.implClose(Unknown Source)
      at java.base/sun.nio.cs.StreamEncoder.close(Unknown Source)
      at java.base/java.io.OutputStreamWriter.close(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.savePartOfDatabase(Unknown Source)
      at org.jabref/org.jabref.logic.exporter.BibDatabaseWriter.saveDatabase(Unknown Source)
      at org.jabref/org.jabref.logic.autosaveandbackup.BackupManager.performBackup(Unknown Source)
      at java.base/java.util.Optional.ifPresent(Unknown Source)
      at org.jabref/org.jabref.logic.autosaveandbackup.BackupManager.lambda$startBackupTask$2(Unknown Source)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2020

This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs.

As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:

  • If there has been a longer discussion, add a short summary of the most important points as a new comment (if not yet existing).
  • Provide further steps or information on how to reproduce this issue.
  • Upvote the initial post if you like to see it implemented soon. Votes are not the only metric that we use to determine the requests that are implemented, however, they do factor into our decision-making process.
  • If all information is provided and still up-to-date, then just add a short comment that the issue is still relevant.

Thank you for your contribution!

koppor pushed a commit that referenced this issue Feb 1, 2022
76f23a2 Fix the order for conference papers in APA styles (#5875)
5125c43 Fix bibliography date sorting (#5876)
873df06 Change order of publisher and publisher-place (#5874)
8066c66 Fix independent for BioScientific Review
9cc567e Add AMA brackets w 2 dependents (#5871)
c33dd24 Create medicine-publishing.csl (#5866)
9cb9cdb Fishery&wildlife journals: Remove publishers for articles (#5868)
fbd9165 Update universitatsmedizin-gottingen.csl (#5864)
c563f03 Update mla8 and mla9 (#5859)
98d6a03 [ASM] Add DOI for preprints. (#5862)
05e7071 Create current-neurology-aktualnosci-neurologiczne.csl (#5858)
78d771d Update journal-of-clinical-neurophysiology.csl (#5857)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76f23a2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants