Login  Register

Re: Figure J broken

Posted by Jerome Mutterer-3 on Feb 05, 2016; 1:14pm
URL: http://imagej.273.s1.nabble.com/Figure-J-broken-tp5015547p5015548.html

Dear Christian, dear all,

You're getting this error message because FigureJ makes use of the
imagescience.jar library that provides high quality image transforms. To be
more precise, it uses the Affine.run method, the signature of which changed
at some point in imagescience. From your error message, I'd guess that
you've upgraded imagescience, but not figurej to their latest versions.
As you're running Fiji, the easiest way to upgrade is through the updater,
just make sure to subscribe to the current update sites that provides
ImageScience and FigureJ:
*ImageScience* http://sites.imagej.net/ImageScience/
*IBMP-CNRS* http://sites.imagej.net/Mutterer/If you're not using the
updater for some reason, you can get the latest versions of the needed file
from:
http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:figurej:start#installation_details_for_imagej

Sincerely,

Jerome




On 5 February 2016 at 13:10, Christian Goosmann <
[hidden email]> wrote:

> Dear List
> FigureJ seems to be broken. When trying to send an image to a panel, it
> throws an exception with the message:
>
> Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
> imagescience.transform.Affine.run(Limagescience/image/Image;Limagescience/transform/Transform;IZZ)Limagescience/image/Image;
>     at utilities.MyImageMath.getPixels(MyImageMath.java:53)
>     at FigureJ_Tool.transferROIDataToPanel(FigureJ_Tool.java:451)
>     at FigureJ_Tool.cleanGUIandTransferROI(FigureJ_Tool.java:1984)
>     at
> FigureJ_Tool$FigureControlPanel$22.actionPerformed(FigureJ_Tool.java:1195)
>     at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>     at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
>     at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
>     at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
>     at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
>     at
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
>     at java.awt.Component.processMouseEvent(Component.java:6289)
>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>     at java.awt.Component.processEvent(Component.java:6054)
>     at java.awt.Container.processEvent(Container.java:2041)
>     at java.awt.Component.dispatchEventImpl(Component.java:4652)
>     at java.awt.Container.dispatchEventImpl(Container.java:2099)
>     at java.awt.Component.dispatchEvent(Component.java:4482)
>     at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
>     at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
>     at java.awt.Container.dispatchEventImpl(Container.java:2085)
>     at java.awt.Window.dispatchEventImpl(Window.java:2478)
>     at java.awt.Component.dispatchEvent(Component.java:4482)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
>     at java.awt.EventQueue.access$000(EventQueue.java:85)
>     at java.awt.EventQueue$1.run(EventQueue.java:603)
>     at java.awt.EventQueue$1.run(EventQueue.java:601)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
>     at java.awt.EventQueue$2.run(EventQueue.java:617)
>     at java.awt.EventQueue$2.run(EventQueue.java:615)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
>     at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
>     at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
>     at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
>     at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>     at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>
> Then it behaves like described in Alessandros message from October 2013 on
> this list:
>
> "...the selection is not inserted. On the main ImageJ panel there is an
>> indication "Scaling Image" with three asterisks moving left-right and I'm
>> assuming that the software is trying to scale the image in order to fit it
>> into the frame but even after one hour, nothing happens."
>>
>
> I am using an up to date FIJI on Win7-32, no difference on another machine
> with the 64 bit version. Only an older Version of FIJI last updated March
> 2014 still has FigureJ working. I tried manually adding imagescience.jar to
> the plugins folder (as suggested by Jerome in reply to Alessandro in 2013)
> but no difference.
> Any hints?
> Christian
>
> --
> ---
> Christian Goosmann
> Mikroskopie
> Max-Planck-Institut für Infektionsbiologie
> Campus Charité Mitte
> Charitéplatz 1
> 10117 Berlin
> Tel.: +49 30 28460 388
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html