Ticket #1694 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Exception when exiting ImageJ2

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b7-ndim-data
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1563

Description

If you have two or more images open in IJ2 and you exit the program you get an exception and ImageJ does not terminate.

Exception:

[ERROR] java.util.ConcurrentModificationException

at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at imagej.ui.DefaultUIService.dispose(DefaultUIService.java:411)
at org.scijava.Context.dispose(Context.java:290)
at imagej.core.commands.app.QuitProgram.run(QuitProgram.java:88)
at imagej.command.CommandModule.run(CommandModule.java:163)
at imagej.module.ModuleRunner.run(ModuleRunner.java:169)
at imagej.module.ModuleRunner.call(ModuleRunner.java:126)
at imagej.module.ModuleRunner.call(ModuleRunner.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

Change History

comment:1 Changed 7 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

Fixed with commit b7d201a74abb915fa0d4f5ffc296dad79d6ed188

Note: See TracTickets for help on using tickets.