Ticket #182 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Fix bug with >2GB LIF files

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

Description

Leica LIF files larger than 2GB throw the following exception:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at loci.formats.RandomAccessStream.readFully(RandomAccessStream.java:464)
        at loci.formats.DataTools.read4SignedBytes(DataTools.java:110)
        at loci.formats.RandomAccessStream.readInt(RandomAccessStream.java:317)
        at loci.formats.in.LIFReader.initFile(LIFReader.java:144)
        at loci.formats.FormatReader.setId(FormatReader.java:575)
        at loci.formats.FormatHandler.setId(FormatHandler.java:146)
        at loci.formats.ImageReader.setId(ImageReader.java:536)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:198)
        at loci.formats.tools.ImageInfo.main(ImageInfo.java:579)
        at loci.formats.ImageReader.main(ImageReader.java:577)

Change History

comment:1 Changed 12 years ago by melissa

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

Fixed in r3239.

Note: See TracTickets for help on using tickets.