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 #83 (closed defect: fixed)

Opened 2007-03-22T14:57:01-05:00

Last modified 2007-03-23T09:43:17-05:00

ArrayIndexOutOfBoundsException in TIFF metadata parsing

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


curtis@monk:~/data/tiff/steve$ showinf RBDGFP_24hrs_filter1_tap300_z5_int4_C1.tiff 
Checking file format [Tagged Image File Format]
Initializing reader
        Reading IFDs
        Populating metadata
        Checking comment style
        Found OME-TIFF: parsing OME-XML
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
        at loci.formats.FormatReader.getPixelType(
        at loci.formats.ImageReader.getPixelType(
        at loci.formats.FormatTools.testRead(
        at loci.formats.ImageReader.testRead(
        at loci.formats.ImageReader.main(

Change History

comment:1 Changed 2007-03-23T09:43:17-05:00 by melissa

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

This is actually a bug in how WiscScan writes OME-TIFF files - it produces files with one OME-XML block per IFD, where each block has SizeZ = SizeT = 1. I added a hack to the OME-TIFF handler (r2504) which sets SizeT to the number of images if more than one OME-XML block is present.