Login  Register

Re: Multiview Reconstruction plugin fails because of missing class in imglib2

Posted by Stephan Preibisch on Dec 14, 2014; 11:07am
URL: http://imagej.273.s1.nabble.com/Multiview-Reconstruction-plugin-fails-because-of-missing-class-in-imglib2-tp5010934p5010944.html

Hi Nico,

I am a bit confused why that happens. In ImgLib2, the Pair class was moved from net.imglib2 to net.imglib2.util for the release version. To the best of my knowledge, Fiji currently still comes with imglib2-2.0.0-beta-26.jar - so that’s why it doesn’t find the class. But the multi-view reconstruction plugin (http://fiji.sc/Multiview-Reconstruction <http://fiji.sc/Multiview-Reconstruction>) that comes with the bigdataviewer update site is still build for the imglib2-2.0.0-beta-26.jar. If you build it yourself, please use the branch “compatibility” as “master” works with the release version of imglib2.

Cheers,
Stephan

> On Dec 12, 2014, at 20:52 , Nico Stuurman <[hidden email]> wrote:
>
> Using an up-to-date Fiji installation, the Multiview Registration plugin fails because it can not find the class net.imglib2.util.Pair.  Indeed, the same error can be triggered with the following Beanshell script:
>
> import net.imglib2.util.*;
> t = new Pair();
>
> It is a bit unclear to me whether the function has just been removed or was just added, but clearly, the plugin code and Fiji itself use different version of the imglib2. Is there any way to get this to work (I would love to try out the plugin with my data)?  
>
> I did try the lifeline version, but not sure if that autoupdates to the latest when I add the BigDataViewer update site, in any case, that version gives me the same problem.  
>
> B.t.w., I am not sure how the developers would like to be contacted, but I did file a bug report (#975). Also happy to try fix this myself, but this seems to be a higher level packaging problem that is not easily penetrable.
>
> Best,
>
> Nico
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


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