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

Opened 2011-04-29T14:09:19-05:00

Last modified 2011-06-22T09:56:00-05:00

Image Calculator intialization throws exception

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: biweekly-2011: Jun-20 to Jul-01
Component: Plugin Framework Version:
Severity: minor Keywords:
Cc: Blocked By:


Load an image. Then open Image Calculator. If running from eclipse you can see the log window receives notice of an exception. However the plugin ends up working just fine.

[ERROR] Exception
java.lang.IllegalArgumentException: Can not set field imagej.core.plugins.assign.ImageMath.input1 to java.lang.String

at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(
at java.lang.reflect.Field.set(
at imagej.plugin.PluginModule.setValue(
at imagej.plugin.PluginModule.setInput(
at imagej.plugin.ui.ParamDetails.setValue(
at imagej.plugin.ui.AbstractInputHarvester.addObject(
at imagej.plugin.ui.AbstractInputHarvester.buildPanel(
at imagej.plugin.ui.AbstractInputHarvester.process(
at imagej.plugin.PluginRunner.preProcess(
at imagej.plugin.PluginManager$

Change History

comment:1 Changed 2011-06-07T17:21:38-05:00 by curtis

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

This should be fixed in 14f53919701b09367691844cfe1cf9dd2202b9b9.

comment:2 Changed 2011-06-22T09:56:00-05:00 by bdezonia

  • Milestone changed from imagej-2.0-beta1 to biweekly-2011: Jun-20 to Jul-01