Ticket #734 (closed defect: worksforme)

Opened 8 years ago

Last modified 8 years ago

Close Window throws exception

Reported by: afraser Owned by: gharris
Priority: minor Milestone: imagej-2.0-alpha5
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by afraser) (diff)

File > Close (Cmd+W) doesn't completely close the display window and throws the following exception:

[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)

The same is true for File>Close All

Change History

comment:1 Changed 8 years ago by afraser

  • Description modified (diff)

comment:2 Changed 8 years ago by curtis

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

comment:3 Changed 8 years ago by gharris

I'm not able to replicate this error now. (GBH)

+ CloseAll only closed IJ1 image windows.

comment:4 Changed 8 years ago by gharris

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

Works for me.

Note: See TracTickets for help on using tickets.