Hi,
I'm using MetroloJ to create a PSF report. Last week it was working fine, but today it cannot create the report anymore and instead I have an error message: *(Fiji Is Just) ImageJ 2.0.0-rc-61/1.51n; Java 1.8.0_66 [64-bit]; Windows 10 10.0; 95MB of 24423MB (<1%)* *java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException* * at Generate_PSFreport.run(Generate_PSFreport.java:65)* * at ij.IJ.runUserPlugIn(IJ.java:217)* * 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:745)* *Caused by: java.lang.ClassNotFoundException: com.lowagie.text.DocumentException* * at java.net.URLClassLoader.findClass(URLClassLoader.java:381)* * at java.lang.ClassLoader.loadClass(ClassLoader.java:424)* * at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)* * at java.lang.ClassLoader.loadClass(ClassLoader.java:357)* * ... 6 more* I'm running Windows 10 Enterprise. The java version: Fiji.app\java\win64\jdk1.8.0_66 Do you have an idea, why it is not working anymore? Thanks Chloë -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Chloë,
Fiji updated from the old itext 2.1.5 library (released 20-Apr-2009) to the latest itextpdf 5.5.11 (released 20-Mar-2017). The old itext library has the package prefix com.lowagie.text, whereas the new itextpdf has package prefix com.itextpdf.text. The old itext library is still available from the Fiji-Legacy update site. *Run Help > Update... > Manage update sites and check the "Fiji-Legacy" update site. Restart Fiji, and hopefully **MetroloJ should work again.* As the MetroloJ web page [2] states: > Reports are generated as pdf files, using currently the iText library > v2.1.4 (Newer versions are available from iText website, but are not > yet compatible with MetroloJ) which should be downloaded to the > Plugins folder of ImageJ. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Tue, Jun 13, 2017 at 5:21 PM, Chloe van Oostende < [hidden email]> wrote: > Hi, > I'm using MetroloJ to create a PSF report. > Last week it was working fine, but today it cannot create the report > anymore and instead I have an error message: > > *(Fiji Is Just) ImageJ 2.0.0-rc-61/1.51n; Java 1.8.0_66 [64-bit]; Windows > 10 10.0; 95MB of 24423MB (<1%)* > > *java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException* > * at Generate_PSFreport.run(Generate_PSFreport.java:65)* > * at ij.IJ.runUserPlugIn(IJ.java:217)* > * 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:745)* > *Caused by: java.lang.ClassNotFoundException: > com.lowagie.text.DocumentException* > * at java.net.URLClassLoader.findClass(URLClassLoader.java:381)* > * at java.lang.ClassLoader.loadClass(ClassLoader.java:424)* > * at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)* > * at java.lang.ClassLoader.loadClass(ClassLoader.java:357)* > * ... 6 more* > > > I'm running Windows 10 Enterprise. > The java version: Fiji.app\java\win64\jdk1.8.0_66 > > Do you have an idea, why it is not working anymore? > Thanks > Chloë > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Thank you very much Curtis,
It is working again. Your help is much appreciated! Have a great day Chloë Le mar. 13 juin 2017 à 22:18, Curtis Rueden <[hidden email]> a écrit : > Hi Chloë, > > Fiji updated from the old itext 2.1.5 library (released 20-Apr-2009) to the > latest itextpdf 5.5.11 (released 20-Mar-2017). > > The old itext library has the package prefix com.lowagie.text, whereas the > new itextpdf has package prefix com.itextpdf.text. > > The old itext library is still available from the Fiji-Legacy update site. > *Run > Help > Update... > Manage update sites and check the "Fiji-Legacy" update > site. Restart Fiji, and hopefully **MetroloJ should work again.* > > As the MetroloJ web page [2] states: > > Reports are generated as pdf files, using currently the iText library > > v2.1.4 (Newer versions are available from iText website, but are not > > yet compatible with MetroloJ) which should be downloaded to the > > Plugins folder of ImageJ. > > Regards, > Curtis > > -- > Curtis Rueden > LOCI software architect - https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > Did you know ImageJ has a forum? http://forum.imagej.net/ > > > On Tue, Jun 13, 2017 at 5:21 PM, Chloe van Oostende < > [hidden email]> wrote: > > > Hi, > > I'm using MetroloJ to create a PSF report. > > Last week it was working fine, but today it cannot create the report > > anymore and instead I have an error message: > > > > *(Fiji Is Just) ImageJ 2.0.0-rc-61/1.51n; Java 1.8.0_66 [64-bit]; Windows > > 10 10.0; 95MB of 24423MB (<1%)* > > > > *java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException* > > * at Generate_PSFreport.run(Generate_PSFreport.java:65)* > > * at ij.IJ.runUserPlugIn(IJ.java:217)* > > * 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:745)* > > *Caused by: java.lang.ClassNotFoundException: > > com.lowagie.text.DocumentException* > > * at java.net.URLClassLoader.findClass(URLClassLoader.java:381)* > > * at java.lang.ClassLoader.loadClass(ClassLoader.java:424)* > > * at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)* > > * at java.lang.ClassLoader.loadClass(ClassLoader.java:357)* > > * ... 6 more* > > > > > > I'm running Windows 10 Enterprise. > > The java version: Fiji.app\java\win64\jdk1.8.0_66 > > > > Do you have an idea, why it is not working anymore? > > Thanks > > Chloë > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |