Ticket #474 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

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 9 years ago by curtis

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

This should be fixed in 14f53919701b09367691844cfe1cf9dd2202b9b9.

comment:2 Changed 8 years ago by bdezonia

  • Milestone changed from imagej-2.0-beta1 to biweekly-2011: Jun-20 to Jul-01
Note: See TracTickets for help on using tickets.