NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #379 (closed defect: fixed)

Opened 2009-04-23T14:54:40-05:00

Last modified 2009-04-23T22:26:28-05:00

EOFException reading some LEI datasets

Reported by: curtis Owned by: melissa
Priority: major Milestone:
Component: bio-formats Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description

$ showinf data/leica/mark/mwoodbri-leica/exp1.lei 
Checking file format [Leica]
Initializing reader
        Reading metadata blocks
        Parsing metadata blocks
        Handling renamed TIFF files
        Populating metadata
Exception in thread "main" java.io.EOFException
        at java.io.RandomAccessFile.readFully(RandomAccessFile.java:373)
        at loci.common.RAFile.readFully(RAFile.java:146)
        at loci.common.RandomAccessStream.readFully(RandomAccessStream.java:398)
        at loci.common.DataTools.read2SignedBytes(DataTools.java:103)
        at loci.common.RandomAccessStream.readShort(RandomAccessStream.java:288)
        at loci.formats.in.MinimalTiffReader.initFile(MinimalTiffReader.java:148)
        at loci.formats.FormatReader.setId(FormatReader.java:327)
        at loci.formats.in.LeicaReader.initFile(LeicaReader.java:810)
        at loci.formats.FormatReader.setId(FormatReader.java:327)
        at loci.formats.ImageReader.setId(ImageReader.java:581)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:261)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:59)
        at loci.formats.tools.ImageInfo.main(ImageInfo.java:671)

Change History

comment:1 Changed 2009-04-23T22:26:28-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

Mostly fixed in r5027. An EOFException will still be thrown when attempting to open the exp1 dataset, as all of the constituent TIFF files are empty. However, the .lei file can now be initialized without an exception being thrown.