NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #422 (closed defect: fixed)

Opened 2011-04-01T15:13:01-05:00

Last modified 2011-06-22T09:54:21-05:00

Stack To Images command throws exception

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jun-20 to Jul-01
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:


If you load T1 Head sample image and then try to run Image > Stacks > Stack To Images it will end unsuccessfully. Even though there are 129 slices there are only about 16 display windows are created because an exception is thrown.

Exception in thread "PluginRunner-imagej.legacy.plugin.LegacyPlugin" java.util.ConcurrentModificationException

at java.util.AbstractList$Itr.checkForComodification(
at java.util.AbstractList$
at java.util.Collections$UnmodifiableCollection$
at imagej.display.DisplayPostprocessor.updateDisplays(
at imagej.display.DisplayPostprocessor.handleOutput(
at imagej.display.DisplayPostprocessor.handleOutput(
at imagej.display.DisplayPostprocessor.handleOutput(
at imagej.display.DisplayPostprocessor.process(
at imagej.plugin.PluginRunner.postProcess(
at imagej.plugin.PluginManager$

Change History

comment:1 Changed 2011-06-21T13:22:43-05:00 by bdezonia

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

This exception is no longer happening. Tested with 7feeec6da90f475fea86cb0e43bfca37dcdfb828. Note that it fails to complete because of OutOfMemory exceptions but since its trying to hatch 129 windows this is not unexpected. Will treat as fixed.

comment:2 Changed 2011-06-22T09:54:21-05:00 by bdezonia

  • Milestone changed from imagej-2.0-beta1 to biweekly-2011: Jun-20 to Jul-01