Posted by
ctrueden on
Aug 15, 2016; 6:59pm
URL: http://imagej.273.s1.nabble.com/Problem-to-save-as-DICOM-with-Tudor-dicom-tools-tp5017013p5017016.html
Hi Daniel,
> There was a problem with the class
> com.jgoodies.forms.builder.ButtonBarBuilder which can be found here:
> /home/daniel/programs/Fiji.app/jars/jgoodies-forms-1.7.2.jar
> /home/daniel/programs/Fiji.app/plugins/TudorDICOMLibs/forms-1.0.6.jar
This means that the Tudor DICOM Tools are shipping with a different (and
incompatible) version of the library called JGoodies Forms.
As a workaround, you can try removing jars/jgoodies-forms-1.7.2.jar from in
your local installation; the one that Tudor DICOM Tools needs is in
plugins/TudorDICOMLibs/forms-1.0.6.jar.
> Is it maybe possible somehow to tell the plugin to look into its "own"
> forms.jar instead of the preinstalled file (Fiji.app/jars/jgoodies-
> forms-1.7.2.jar)?
Unfortunately not. At least, not without a major change to the ImageJ
infrastructure, which would make it more complex.
The best way to fix this is for Tudor DICOM Tools to be structured as an
ImageJ update site compatible with ImageJ2 and Fiji. I have suggested this
path to the authors in the past, but they ignore these mailing list threads
[1, 2]. Ways forward include:
- email the Tudor DICOM Tools authors directly to renew the request
- set up a third party update site for the Tudor DICOM Tools, maintained by
someone in the community
See also:
http://imagej.net/DICOMIt would be great, if you get the Tudor DICOM Tools working, if you could
at least edit the above wiki page with hints on how to do so.
Regards,
Curtis
--
Curtis Rueden
LOCI software architect -
http://loci.wisc.edu/softwareImageJ2 lead, Fiji maintainer -
http://imagej.net/User:RuedenDid you know ImageJ has a forum?
http://forum.imagej.net/[1]
http://imagej.1557.x6.nabble.com/oib-to-DICOM-tt5016100.html#a5016154[2]
http://imagej.1557.x6.nabble.com/czi-DICOM-or-mrb-tp5015970p5016237.htmlOn Mon, Aug 15, 2016 at 4:47 AM, Daniel Hornung <
[hidden email]>
wrote:
> Hi everyone,
>
> I am trying to save tiff stacks as DICOM, and downloaded and installed the
> latest Tudor DICOM Tools (version 1.9.30).
>
> When calling File > Save as > Save DICOM, I get the following error:
>
> ==========
>
> There was a problem with the class com.jgoodies.forms.builder.But
> tonBarBuilder
> which can be found here:
> /home/daniel/programs/Fiji.app/jars/jgoodies-forms-1.7.2.jar
> /home/daniel/programs/Fiji.app/plugins/TudorDICOMLibs/forms-1.0.6.jar
>
> WARNING: multiple locations found!
> java.lang.NoSuchMethodError:
> com.jgoodies.forms.builder.ButtonBarBuilder.addGlue()V
> at Save_As_Dicom.setup(Save_As_Dicom.java:100)
> at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunne
> r.java:48)
> at ij.IJ.runUserPlugIn(IJ.java:219)
> at ij.IJ.runPlugIn(IJ.java:181)
> at ij.Executer.runCommand(Executer.java:137)
> at ij.Executer.run(Executer.java:66)
> at java.lang.Thread.run(Thread.java:662)
>
> java.lang.NoSuchMethodException: Could not find method
> com.jgoodies.forms.builder.ButtonBarBuilder.addGlue()V
> There was a problem with the class com.jgoodies.forms.builder.But
> tonBarBuilder
> which can be found here:
> /home/daniel/programs/Fiji.app/jars/jgoodies-forms-1.7.2.jar
> /home/daniel/programs/Fiji.app/plugins/TudorDICOMLibs/forms-1.0.6.jar
>
> WARNING: multiple locations found!
> java.lang.NoSuchMethodError:
> com.jgoodies.forms.builder.ButtonBarBuilder.addGlue()V
> at Save_As_Dicom.setup(Save_As_Dicom.java:100)
> at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunne
> r.java:48)
> at ij.IJ.runUserPlugIn(IJ.java:219)
> at ij.IJ.runPlugIn(IJ.java:181)
> at ij.Executer.runCommand(Executer.java:137)
> at ij.Executer.run(Executer.java:66)
> at java.lang.Thread.run(Thread.java:662)
>
> at Save_As_Dicom.setup(Save_As_Dicom.java:100)
> at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunne
> r.java:48)
> at ij.IJ.runUserPlugIn(IJ.java:219)
> at ij.IJ.runPlugIn(IJ.java:181)
> at ij.Executer.runCommand(Executer.java:137)
> at ij.Executer.run(Executer.java:66)
> at java.lang.Thread.run(Thread.java:662)
>
>
> ==========
>
> My Fiji distribution is up-to-date. Can anyone reproduce this problem, or
> knows a workaround?
>
> Is it maybe possible somehow to tell the plugin to look into its "own"
> forms.jar instead of the preinstalled file (Fiji.app/jars/jgoodies-
> forms-1.7.2.jar)?
>
> Note that the plugin also came with its own version of the 3D viewer and
> loci_tools.jar, which I renamed to prevent naming conflicts at startup.
>
> Thanks!
> Daniel
>
>
> --
> Max-Planck-Institute for Dynamics and Self-Organization
> Research Group Biomedical Physics
>
> Am Fassberg 17
> D-37077 Goettingen
> (+49) 551 5176 373
>
> You can obtain my public key 0xF197B128 from all keyservers, e.g.
> pgp.mit.edu
> Fingerprint: 9698 BDD4 71CC 1274 B7E2 2049 1EDD 012D F197 B128
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html