Ticket #1435 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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) (diff)

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 7 years ago by bdezonia

  • Blocking 1345 added
  • Description modified (diff)

comment:2 Changed 7 years ago by bdezonia

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

comment:3 Changed 7 years ago by bdezonia

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

Fixed by commit 755f66e9bdaceab3a5a1f09f4a31fc8939038ee4

comment:4 Changed 7 years ago by bdezonia

Further improvement with commit 906964223831383106563c3489f9c13d1c1b6c91

Note: See TracTickets for help on using tickets.