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

java.util.ConcurrentModificationException in saveActions #11416

Open
2 tasks done
ryan-carpenter opened this issue Jun 23, 2024 · 2 comments
Open
2 tasks done

java.util.ConcurrentModificationException in saveActions #11416

ryan-carpenter opened this issue Jun 23, 2024 · 2 comments

Comments

@ryan-carpenter
Copy link

ryan-carpenter commented Jun 23, 2024

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)

  • I made a backup of my libraries before testing the latest development version.
  • 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)
@Siedlerchr Siedlerchr changed the title java.util.ConcurrentModificationException java.util.ConcurrentModificationException in saveActions Jun 23, 2024
@Siedlerchr
Copy link
Member

Siedlerchr commented Jun 23, 2024

Thanks for the report
Unfortunately, no screenshot is present, can you please re-add it?

@ryan-carpenter
Copy link
Author

Thanks for the report Unfortunately, no screenshot is present, can you please re-add it?

Added to the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Normal priority
Development

No branches or pull requests

2 participants