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 #773 (closed defect: fixed)

Opened 2011-09-22T09:33:57-05:00

Last modified 2013-03-26T13:06:44-05:00

Reshaping via "Properties" sometimes crashes IJ display

Reported by: afraser Owned by: curtis
Priority: minor Milestone: imagej2-b7-ndim-data
Component: Legacy Compatibility Version:
Severity: serious Keywords: Properties, reshape, hyperstack
Cc: Blocked By:
Blocking: #1011

Description (last modified by afraser)

Open the Mitosis 5D stack
Image > Properties (Ctrl+Shift+P)
set Channels = 1
set Slices = 10
click OK

Sometimes a new image display will be created with the expected rearranged planes. Other times the existing display starts to flicker and closes (but not the whole app).

Expected behavior from IJ1 is for the existing display to be updated such that the channel slider goes away, and the Z slider then has 10 frames along which the channels are interleaved.

Note: the same issue is present when doing the same thing via
Image > HyperStacks > Stack to HyperStack

Change History

comment:1 Changed 2011-09-22T10:30:22-05:00 by afraser

  • Keywords reshape, hyperstack added; reshape removed
  • Description modified

comment:2 Changed 2011-09-22T11:13:02-05:00 by afraser

  • Summary changed from Reshaping via "Properties" sometimes crashes IJ to Reshaping via "Properties" sometimes crashes IJ display

comment:3 Changed 2011-09-22T12:20:04-05:00 by afraser

  • Component changed from other to ij-legacy

comment:4 Changed 2012-02-09T13:53:37-06:00 by bdezonia

Using 8fedffcf4bfa0796aadec45140c7aad4ab47abaa I get the following exception (LegacyPlugin line refs are off a little due to print statements on my machine but other classes' line refs are correct and ALL method names are correct).

[ERROR] ImageJ 1.x plugin threw exception
java.lang.IllegalArgumentException: Channel mismatch: 2 vs. 1

at imagej.legacy.translate.ColorTableHarmonizer.assignChannelMinMax(
at imagej.legacy.translate.ColorTableHarmonizer.updateDisplay(
at imagej.legacy.translate.Harmonizer.updateDisplay(
at imagej.legacy.plugin.LegacyPlugin.updateDisplaysFromImagePluses(
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

comment:5 Changed 2012-02-26T20:27:12-06:00 by curtis

  • Blocking 1011 added

comment:6 Changed 2012-03-29T13:02:37-05:00 by curtis

  • Milestone set to imagej-2.0-final

comment:7 Changed 2012-04-24T09:59:28-05:00 by curtis

  • Milestone changed from imagej-2.0.0 to imagej-2.0.0-beta4

comment:8 Changed 2012-09-10T15:48:12-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:9 Changed 2013-03-21T17:34:37-05:00 by bdezonia

I can't duplicate this using a version after beta 6 and before beta 7.

comment:10 Changed 2013-03-26T13:06:44-05:00 by bdezonia

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