When I run the advanced weka segmentation plugin, I get an exception,
which I appended after my .signature . This is on a mac OSX (10.6.8) Fiji distribution, with ij.jar 1.47b10 (also happened with 1.47b8 and 1.47a) Has anyone else seen this? Has a something changed recently? --aryeh -- Aryeh Weiss Faculty of Engineering Bar Ilan University Ramat Gan 52900 Israel Ph: 972-3-5317638 FAX: 972-3-7384051 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ij.Command.runPlugIn(Command.java:146) at ij.Command.runCommand(Command.java:95) at ij.Executer.run(Executer.java:64) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.IncompatibleClassChangeError: class hr.irb.fastRandomForest.FastRandomForest has interface weka.classifiers.Classifier as super class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:225) at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:217) at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:212) at trainableSegmentation.Weka_Segmentation.<init>(Weka_Segmentation.java:249) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at ij.IJ.runUserPlugIn(IJ.java:183) at ij.IJ.runPlugIn(IJ.java:152) ... 8 more -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
It works for me. Have you updated Fiji?
ignacio On Tue, Aug 7, 2012 at 3:06 PM, Aryeh Weiss <[hidden email]> wrote: > When I run the advanced weka segmentation plugin, I get an exception, > which I appended after my .signature . > > This is on a mac OSX (10.6.8) > Fiji distribution, with ij.jar 1.47b10 > (also happened with 1.47b8 and 1.47a) > > Has anyone else seen this? Has a something changed recently? > > --aryeh > -- > Aryeh Weiss > Faculty of Engineering > Bar Ilan University > Ramat Gan 52900 Israel > > Ph: 972-3-5317638 > FAX: 972-3-7384051 > > java.lang.reflect.**InvocationTargetException > at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method) > at sun.reflect.**NativeMethodAccessorImpl.**invoke(** > NativeMethodAccessorImpl.java:**39) > at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(** > DelegatingMethodAccessorImpl.**java:25) > at java.lang.reflect.Method.**invoke(Method.java:597) > at ij.Command.runPlugIn(Command.**java:146) > at ij.Command.runCommand(Command.**java:95) > at ij.Executer.run(Executer.java:**64) > at java.lang.Thread.run(Thread.**java:680) > Caused by: java.lang.**IncompatibleClassChangeError: class > hr.irb.fastRandomForest.**FastRandomForest has interface > weka.classifiers.Classifier as super class > at java.lang.ClassLoader.**defineClass1(Native Method) > at java.lang.ClassLoader.**defineClassCond(ClassLoader.**java:631) > at java.lang.ClassLoader.**defineClass(ClassLoader.java:**615) > at java.security.**SecureClassLoader.defineClass(** > SecureClassLoader.java:141) > at java.net.URLClassLoader.**defineClass(URLClassLoader.** > java:283) > at java.net.URLClassLoader.**access$000(URLClassLoader.**java:58) > at java.net.URLClassLoader$1.run(**URLClassLoader.java:197) > at java.security.**AccessController.doPrivileged(**Native Method) > at java.net.URLClassLoader.**findClass(URLClassLoader.java:**190) > at java.lang.ClassLoader.**loadClass(ClassLoader.java:**306) > at fiji.FijiClassLoader.**loadClass(FijiClassLoader.**java:225) > at fiji.FijiClassLoader.**loadClass(FijiClassLoader.**java:217) > at fiji.FijiClassLoader.**loadClass(FijiClassLoader.**java:212) > at trainableSegmentation.Weka_**Segmentation.<init>(Weka_** > Segmentation.java:249) > at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native > Method) > at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(** > NativeConstructorAccessorImpl.**java:39) > at sun.reflect.**DelegatingConstructorAccessorI**mpl.newInstance(* > *DelegatingConstructorAccessorI**mpl.java:27) > at java.lang.reflect.Constructor.**newInstance(Constructor.java:** > 513) > at java.lang.Class.newInstance0(**Class.java:355) > at java.lang.Class.newInstance(**Class.java:308) > at ij.IJ.runUserPlugIn(IJ.java:**183) > at ij.IJ.runPlugIn(IJ.java:152) > ... 8 more > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.**html<http://imagej.nih.gov/ij/list.html> > -- Ignacio Arganda-Carreras, Ph.D. Seung's lab, 46-5065 Department of Brain and Cognitive Sciences Massachusetts Institute of Technology 43 Vassar St. Cambridge, MA 02139 USA Phone: (001) 617-324-3747 Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Aryeh Weiss
Dear Aryeh,
On Tue, 7 Aug 2012, Aryeh Weiss wrote: > When I run the advanced weka segmentation plugin, I get an exception, > which I appended after my .signature . Would you mind using Fiji's Help>Report a bug feature? It would help us identify the .jar file versions you have. Thanks, Dscho -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |