Ticket #1437 (closed defect: fixed)
Opened 2012-08-24T11:56:24-05:00
Last modified 2012-08-24T15:52:44-05:00
SelectView exception thrown : case 2
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Plugins | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1345 |
Description
Open organ of corti
Run Select View
Plane 0 is now totally selected
Change Z slider to 5
Run Select View
It should create a new overlay filling slice view 5
Instead an exception is thrown:
java.lang.IllegalArgumentException: Cannot get position : position is uninitialized
at imagej.data.Position.getLongPosition(Position.java:496)
at imagej.core.plugins.display.SelectView.viewIsInCurrentDisplayedPlane(SelectView.java:133)
at imagej.core.plugins.display.SelectView.run(SelectView.java:101)
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-24T13:19:53-05:00 by bdezonia
- Summary changed from SelectView can exception out to SelectView exception thrown : case 2
comment:2 Changed 2012-08-24T15:15:44-05:00 by bdezonia
Exception no longer present after commit 755f66e9bdaceab3a5a1f09f4a31fc8939038ee4.
Now after running there is only one overlay at all times (using Overlay Manager to check) and it is displayed on multiple view planes. Moving slider eventually fixes problem and only the original first plane overlay exists and is selected.
At first overlay displays as selected in plane 5. Moving the slider up and down shows selected overlay as if on every plane. Then when slider goes to the 0 position the display fixes up and afterwards the overlay only appears on plane 0.
comment:3 Changed 2012-08-24T15:52:44-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to fixed
Final improvement with commit 906964223831383106563c3489f9c13d1c1b6c91