Login  Register

Re: NoSuchFieldError between BlockMatching and TrakEM2

Posted by Saalfeld, Stephan on Jul 15, 2015; 1:41pm
URL: http://imagej.273.s1.nabble.com/NoSuchFieldError-between-BlockMatching-and-TrakEM2-tp5013555p5013570.html

Hi Eva,

you can find the most recent snapshots of all involved jar files at the
ImageJ maven repository:

http://maven.imagej.net/index.html#nexus-search;gav~sc.fiji~TrakEM2_~~~~kw,versionexpand

jars/mpicbg-1.0.1
jars/mpicbg-trakem-1.2.2
plugins/blockmatching_2.1.1
plugins/mpicbg_-1.0.1
plugins/TrakEM2_-1.0f

should work.  I.e. TrakEM2_ is outdated.

Cheers,
Stephan

On Tue, 2015-07-14 at 07:16 -0700, Eva_Fiorinelli wrote:

> Dear all,
>
> I'm using the block matching plugin of Stephan Saalfeld in Java.
> When I execute the command :
>
> IJ.run(Brain, "Extract Block Matching Correspondences",
> "source_image=IMG1.dcm target_image=Brain layer_scale=1 search_radius=50
> block_radius=50 resolution=24 minimal_pmcc_r=0.10
> maximal_curvature_ratio=1000 maximal_second_best_r/best_r=1
> use_local_smoothness_filter approximate_local_transformation=Affine
> local_region_sigma=65 maximal_local_displacement=12 export");
>
> I obtain this error :
>
> java.lang.NoSuchFieldError: m00
> at mpicbg.trakem2.transform.AffineModel2D.copy(AffineModel2D.java:76)
> at mpicbg.trakem2.transform.AffineModel2D.copy(AffineModel2D.java:22)
> at mpicbg.models.AbstractModel.filter(AbstractModel.java:181)
> at mpicbg.models.AbstractModel.filter(AbstractModel.java:239)
> at
> mpicbg.models.AbstractModel.localSmoothnessFilter(AbstractModel.java:677)
> at
> mpicbg.ij.plugin.BlockMatching_ExtractPoinRoi.run(BlockMatching_ExtractPoinRoi.java:152)
> at ij.IJ.runUserPlugIn(IJ.java:199)
> at ij.IJ.runPlugIn(IJ.java:163)
> at ij.Executer.runCommand(Executer.java:132)
> at ij.Executer.run(Executer.java:65)
> at ij.IJ.run(IJ.java:279)
> at ij.IJ.run(IJ.java:334)
> at strokeDetection.model.ArterialMatching.match(ArterialMatching.java:110)
> at strokeDetection.model.ArterialMatching.<init>(ArterialMatching.java:24)
> at strokeDetection.Main.main(Main.java:25)
>
> The  documentation
> <http://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchFieldError.html>  
> says that the NoSuchField error is :
>
> Thrown if an application tries to access or modify a specified field of an
> object, and that object no longer has that field.
> Normally, this error is caught by the compiler; this error can only occur at
> run time if the definition of a class has incompatibly changed.
>
> So I think I have the bad version for one of the dependencies but I don't
> find which one.
> In Fiji/jars there are mpicbg-1.0.1.jar and mpicbg-trakem2-1.2.2.
> In Fiji/plugins I use TrakEM2_-1.0b-SNAPSHOT.jar and  blockmatching_-2.1.1.
>
> Does anyone know what versions of blockmatching and TrakEM2 I need ?
>
> Thank you,
>
> Eva
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/NoSuchFieldError-between-BlockMatching-and-TrakEM2-tp5013555.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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