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

Opened 2011-08-31T13:35:13-05:00

Last modified 2011-09-12T10:40:39-05:00

Exception in Split Channels

Reported by: afraser Owned by: gharris
Priority: major Milestone: imagej-2.0-alpha5
Component: Legacy Compatibility Version:
Severity: serious Keywords: Split Channels
Cc: Blocked By:
Blocking:

Description

Splits clown.jpg OK, but fails to close the original display. and throws:

[ERROR] Module threw exception
java.lang.ClassCastException: javax.swing.JLayeredPane cannot be cast to imagej.ui.swing.display.SwingDisplayWindow

at imagej.ui.swing.display.SwingDisplayPanel.close(SwingDisplayPanel.java:456)
at imagej.legacy.plugin.LegacyPlugin.run(LegacyPlugin.java:141)
at imagej.ext.plugin.PluginModule.run(PluginModule.java:163)
at imagej.ext.module.ModuleRunner.run(ModuleRunner.java:148)
at imagej.ext.module.ModuleRunner.call(ModuleRunner.java:118)
at imagej.ext.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:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

Not sure if this is a legacy issue or a display issue or something else entirely

Change History

comment:1 Changed 2011-09-09T11:22:11-05:00 by curtis

  • Owner changed from curtis to gharris
  • Status changed from new to assigned

comment:2 Changed 2011-09-12T10:40:39-05:00 by afraser

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

looks like Lee fixed this.