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 #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: imagej2-b4-plugins
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1345


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.core.plugins.display.SelectView.viewIsInCurrentDisplayedPlane(
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

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.

Last edited 2012-08-24T15:21:46-05:00 by bdezonia

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