jabref icon indicating copy to clipboard operation
jabref copied to clipboard

java.util.ConcurrentModificationException in saveActions

Open ryan-carpenter opened this issue 8 months ago • 2 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

openSUSE Tumbleweed with KDE Plasma 6.0.5

Checked with the latest development build (copy version output from About dialog)

  • [X] I made a backup of my libraries before testing the latest development version.
  • [X] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Select some entries that have an attachment
  2. Run Cleanup Entries with the options shown in the screenshot
  3. ConcurrentModificationException occurs but cleanup succeeds

JabRef 5.14-PullRequest11403.199--2024-06-21--ef06b19 Linux 6.9.3-1-default amd64 Java 21.0.2 JavaFX 22.0.1+7

image

Appendix

...

Log File
java.util.ConcurrentModificationException
	at java.base/java.util.AbstractList$Itr.checkForComodification(Unknown Source)
	at java.base/java.util.AbstractList$Itr.next(Unknown Source)
	at [email protected]/org.jabref.gui.cleanup.CleanupAction.cleanup(Unknown Source)
	at [email protected]/org.jabref.gui.cleanup.CleanupAction.lambda$execute$1(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$2.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$2.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.UiTaskExecutor$1.call(Unknown Source)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(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.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

ryan-carpenter avatar Jun 23 '24 05:06 ryan-carpenter