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

Opened 2012-08-24T11:42:45-05:00

Last modified 2012-08-24T15:53:23-05:00

SelectView exception thrown : case 1

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b4-plugins
Component: Other Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1345

Description (last modified by bdezonia)

Open boats and draw a random rectangle overlay that does not fill screen
Run Edit > Selection > Select View
Exception thrown and full view overlay not created

java.lang.UnsupportedOperationException

at imagej.data.AbstractData.getDims(AbstractData.java:147)
at imagej.core.plugins.display.SelectView.viewFillsDisplay(SelectView.java:142)
at imagej.core.plugins.display.SelectView.run(SelectView.java:102)
at imagej.plugin.PluginModule.run(PluginModule.java:164)
at imagej.module.ModuleRunner.run(ModuleRunner.java:159)
at imagej.module.ModuleRunner.call(ModuleRunner.java:121)
at imagej.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)

Change History

comment:1 Changed 2012-08-24T11:44:57-05:00 by bdezonia

  • Blocking 1345 added
  • Description modified

comment:2 Changed 2012-08-24T13:19:30-05:00 by bdezonia

  • Summary changed from SelectView can throw exception to SelectView exception thrown : case 1

comment:3 Changed 2012-08-24T15:13:08-05:00 by bdezonia

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

Fixed by commit 755f66e9bdaceab3a5a1f09f4a31fc8939038ee4

comment:4 Changed 2012-08-24T15:53:23-05:00 by bdezonia

Further improvement with commit 906964223831383106563c3489f9c13d1c1b6c91