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:
Blocking:

Description

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(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
at imagej.display.DisplayPostprocessor.updateDisplays(DisplayPostprocessor.java:97)
at imagej.display.DisplayPostprocessor.handleOutput(DisplayPostprocessor.java:75)
at imagej.display.DisplayPostprocessor.handleOutput(DisplayPostprocessor.java:71)
at imagej.display.DisplayPostprocessor.handleOutput(DisplayPostprocessor.java:71)
at imagej.display.DisplayPostprocessor.process(DisplayPostprocessor.java:63)
at imagej.plugin.PluginRunner.postProcess(PluginRunner.java:99)
at imagej.plugin.PluginRunner.run(PluginRunner.java:70)
at imagej.plugin.PluginManager$1.run(PluginManager.java:129)
at java.lang.Thread.run(Thread.java:680)

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