Ticket #734 (closed defect: worksforme)
Opened 2011-08-31T14:23:14-05:00
Last modified 2011-09-09T13:10:38-05:00
Close Window throws exception
Reported by: | afraser | Owned by: | gharris |
---|---|---|---|
Priority: | minor | Milestone: |
|
Component: | Display API | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description (last modified by afraser)
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:2 Changed 2011-09-09T11:21:03-05:00 by curtis
- Owner changed from curtis to gharris
- Status changed from new to assigned
comment:3 Changed 2011-09-09T13:07:18-05:00 by gharris
I'm not able to replicate this error now. (GBH)
+ CloseAll only closed IJ1 image windows.
comment:4 Changed 2011-09-09T13:10:38-05:00 by gharris
- Status changed from assigned to closed
- Resolution set to worksforme
Works for me.