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

Opened 2011-05-04T15:48:14-05:00

Last modified 2011-05-10T11:05:21-05:00

Image math tries to run even if given no input Datasets

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: May-09 to May-20
Component: Plugin Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Run the Image Calculator plugin before you have opened any images in IJ2. The code that assigns Datasets as input does not see that it did not assign any. The plugin is thus invoked and throws an exception. Make the code that calls plugins avoid calling run if parameters cannot be fully determined.

Change History

comment:1 Changed 2011-05-09T13:35:57-05:00 by bdezonia

  • Status changed from new to accepted

changed AbstractInputHarvester to set its state to canceled if a parameter is tagged as required and whose value == null.

comment:2 Changed 2011-05-09T13:36:00-05:00 by bdezonia

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

comment:3 Changed 2011-05-10T11:05:21-05:00 by bdezonia

  • Milestone changed from biweekly-2011: Apr-25 to May-06 to biweekly-2011: May-09 to May-20