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

Opened 2013-05-28T17:13:20-05:00

Last modified 2013-06-04T11:47:09-05:00

Threshold dialog will not initialize/display

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b7-ndim-data
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1563

Description (last modified by bdezonia)

Testing on the scifio-cells branch: one cannot successfully bring up the threshold dialog. An error message is spit out. There is a class casting issue at the heart of this issue. Since we're so close to beta I'll approach in two steps.

Step 1: fix the immediate issue with a workaround
Step 2: find main issue and fix

Change History

comment:1 Changed 2013-05-28T17:16:31-05:00 by bdezonia

Step 1 done with commit 29bdf8fbcbe318cbe7c9b2e2d07d349825ded379: changing a couple @Parameter fields from double to Double fixes the issue for now. There is a failure for one of these items to be assignable from the other. This is a recent problem and likely due to some change elsewhere.

Step 2 TODO: change back to doubles and find the problem.

Last edited 2013-05-28T17:22:12-05:00 by bdezonia

comment:2 Changed 2013-05-28T17:21:43-05:00 by bdezonia

  • Description modified

comment:3 Changed 2013-05-30T12:59:19-05:00 by bdezonia

This problem is more general. I've tested all the places that set mins and maxes of dynamic inputs. All of the following crash when trying to run:

Threshold: when my workaround is disabled
Set Axis Position
Zoom Set
Add Data
Delete Data
Add Axis
Delete Axis

comment:4 Changed 2013-05-30T13:08:30-05:00 by bdezonia

Possibly this is related to the mutable modules changes merged 5-17-13.

comment:5 Changed 2013-05-30T14:05:40-05:00 by bdezonia

Fixed on the scifio-cells branch with commit 52fd7a7f833114bdcfe755b08064792ce1a66d23

comment:6 Changed 2013-06-04T11:47:09-05:00 by bdezonia

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

Merged. Closing.