Ticket #300 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

ZVI reader throws ArrayIndexOutOfBoundsException

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

Description

curtis@monk:~/data/zeiss-zvi/sebastien$ showinf test.zvi 
...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 138
        at java.util.Vector.get(Vector.java:710)
        at loci.formats.in.ZeissZVIReader.openBytes(ZeissZVIReader.java:107)
        at loci.formats.FormatReader.openBytes(FormatReader.java:434)
        at loci.formats.FormatReader.openImage(FormatReader.java:417)
        at loci.formats.ImageReader.openImage(ImageReader.java:329)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:455)
        at loci.formats.tools.ImageInfo.main(ImageInfo.java:622)

This problem may be related to the fact that Bio-Formats identifies 4 channels instead of the expected 3.

Change History

comment:1 Changed 12 years ago by melissa

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

(In [4074]) Fixed C size calculation bug - closes #300.

Note: See TracTickets for help on using tickets.