Hi all,
I'm using the latest version of bioformats (5.1.7) and I receive a strange error message for some of the nd2 files I'm trying to read.
When I'm reading a 96 series of 3 channel images (2765x3629 pixels each image) the function works perfectly.
However, recently I'm receiving the following error messages for the same series but with a bit larger images (3636x4772 pixels each image):
Java exception occurred:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at loci.formats.FormatReader.getSizeC(FormatReader.java:719)
at loci.formats.in.NativeND2Reader.initFile(NativeND2Reader.java:1342)
at loci.formats.FormatReader.setId(FormatReader.java:1426)
at loci.formats.DelegateReader.setId(DelegateReader.java:290)
at loci.formats.ImageReader.setId(ImageReader.java:835)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:651)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:223)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:651)
at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:289)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:651)
at loci.formats.Memoizer.setId(Memoizer.java:678)
This error occurs in the last line of bfGerReader - r.setId(id) command
P.S.
I increased the java heap memory to 700MB and I get this error in windows 10\7 and linux platforms
Any help would be greatly appreciated.