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:
Blocking:

Description

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 imagej.data.Dataset field imagej.core.plugins.assign.ImageMath.input1 to java.lang.String

at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
at java.lang.reflect.Field.set(Field.java:657)
at imagej.plugin.PluginModule.setValue(PluginModule.java:147)
at imagej.plugin.PluginModule.setInput(PluginModule.java:104)
at imagej.plugin.ui.ParamDetails.setValue(ParamDetails.java:92)
at imagej.plugin.ui.AbstractInputHarvester.addObject(AbstractInputHarvester.java:227)
at imagej.plugin.ui.AbstractInputHarvester.buildPanel(AbstractInputHarvester.java:141)
at imagej.plugin.ui.AbstractInputHarvester.process(AbstractInputHarvester.java:78)
at imagej.plugin.PluginRunner.preProcess(PluginRunner.java:96)
at imagej.plugin.PluginRunner.run(PluginRunner.java:75)
at imagej.plugin.PluginManager$1.run(PluginManager.java:128)
at java.lang.Thread.run(Thread.java:680)

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