Login  Register

Re: lif file loading

Posted by Melissa Linkert-2 on Sep 30, 2010; 7:59pm
URL: http://imagej.273.s1.nabble.com/lif-file-loading-tp3686745p3686746.html

Hi Oky,

Fortunately, this is not a bug in Bio-Formats; it simply indicates that you
have multiple conflicting versions of Bio-Formats installed.

Can you please verify that:

 - there is exactly one copy of loci_tools.jar in your plugins folder
 - there are no copies of bio-formats.jar in your plugins folder
 - there are no copies of loci-common.jar in your plugins folder

Note that you will need to look in any sub-folders of your plugins folder.

If you still see an error message after checking the above, then it's
possible that one of the other installed plugins is bundled with an
outdated version of some of the Bio-Formats classes.  As I discovered
today, this is the case with the 2D/3D Stitching plugin; it may be the case
with other plugins as well.

Regards,
-Melissa

On Thu, Sep 30, 2010 at 09:58:57AM -0700, Oky wrote:

> Hello,
>
> I have problem to load lif files utilizing LOCI bio-formats plugin. I
> don't see "Bio-formats Import Options" window. Instead, error pops up.
> Please help me solve this issue. Thanks very much!
>
> OS: OSX 10.6.4
> ImageJ: 1.44h
> LOCI: 6946 built 15 trunk release
>
> Error message:
>
> java.lang.IllegalAccessError: tried to access method
> loci.formats.ImageReader.getDefaultReaderClasses()Lloci/formats/ClassList;
> from class loci.plugins.util.LociPrefs
> at loci.plugins.util.LociPrefs.makeImageReader(LociPrefs.java:71)
> at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:585)
> at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:464)
> at loci.plugins.in.ImportProcess.execute(ImportProcess.java:134)
> at loci.plugins.in.Importer.showDialogs(Importer.java:125)
> at loci.plugins.in.Importer.run(Importer.java:77)
> at loci.plugins.LociImporter.run(LociImporter.java:77)
> at ij.IJ.runUserPlugIn(IJ.java:184)
> at ij.IJ.runPlugIn(IJ.java:151)
> at ij.IJ.runPlugIn(IJ.java:140)
> at HandleExtraFileTypes.openImage(HandleExtraFileTypes.java:243)
> at HandleExtraFileTypes.run(HandleExtraFileTypes.java:37)
> at ij.IJ.runUserPlugIn(IJ.java:184)
> at ij.IJ.runPlugIn(IJ.java:151)
> at ij.IJ.runPlugIn(IJ.java:140)
> at ij.io.Opener.openWithHandleExtraFileTypes(Opener.java:405)
> at ij.io.Opener.openImage(Opener.java:282)
> at ij.io.Opener.openImage(Opener.java:301)
> at ij.io.Opener.open(Opener.java:137)
> at ij.io.Opener.openAndAddToRecent(Opener.java:221)
> at ij.plugin.DragAndDrop.openFile(DragAndDrop.java:172)
> at ij.plugin.DragAndDrop.run(DragAndDrop.java:148)
> at java.lang.Thread.run(Thread.java:637)