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: |
|
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)
This should be fixed in 14f53919701b09367691844cfe1cf9dd2202b9b9.