<div dir="ltr">Hi Guilhem,<div><br></div><div>Thank you again for offering to send a file - FTP details have now been sent to you via private email.  We will continue to investigate once a file is uploaded.</div><div><br></div><div>Regards,</div><div>-Melissa</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 6:11 AM David Gault (Staff) <<a href="mailto:d.gault@dundee.ac.uk">d.gault@dundee.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>Thank you for raising this bug. If you have any smaller files (< 2GB) that reproduce the same behaviour you can upload them to
<a href="https://www.openmicroscopy.org/qa2/qa/upload/" target="_blank">https://www.openmicroscopy.org/qa2/qa/upload/</a>, otherwise we will arrange FTP details for you to transfer the larger original file for testing.</div>
<div>I have opened a Bio-Formats Trello card to track this issue: <a href="https://trello.com/c/dDcSZtur/296-indexoutofboundsexception" target="_blank">https://trello.com/c/dDcSZtur/296-indexoutofboundsexception</a></div>
<div><br>
</div>
<div>With Thanks,</div>
<div>David Gault</div>
<div><br>
<div>
<blockquote type="cite">
<div>On 23 Nov 2018, at 18:05, Guilhem Chenon <<a href="mailto:guilhem.chenon@espci.fr" target="_blank">guilhem.chenon@espci.fr</a>> wrote:</div>
<br class="m_6064013233316681339Apple-interchange-newline">
<div>
<div text="#000000" bgcolor="#FFFFFF">
<p><font face="Karla">Hello,</font></p>
<p><font face="Karla">I am having trouble with several random .nd2 files which will  not open with Bio-Formats plugin either in ImageJ or Matlab. When I call bfGetReader on the file, I get this error message:</font></p>
<p><font face="Karla">Error using bfGetReader (line 85)<br>
Java exception occurred:<br>
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0<br>
<br>
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)<br>
<br>
    at java.util.ArrayList.get(ArrayList.java:429)<br>
<br>
    at loci.formats.FormatReader.getSizeC(FormatReader.java:689)<br>
<br>
    at loci.formats.in.NativeND2Reader.initFile(NativeND2Reader.java:1348)<br>
<br>
    at loci.formats.FormatReader.setId(FormatReader.java:1401)<br>
<br>
    at loci.formats.DelegateReader.setId(DelegateReader.java:291)<br>
<br>
    at loci.formats.ImageReader.setId(ImageReader.java:835)<br>
<br>
    at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:651)<br>
<br>
    at loci.formats.ChannelFiller.setId(ChannelFiller.java:223)<br>
<br>
    at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:651)<br>
<br>
    at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:289)<br>
</font></p>
<p><font face="Karla">The original file is quite big (10Gb), so I can only upload it through FTP. When I crop the file in NIS, interestingly, it works, so for now my workaround is to crop the image itself because apparently NIS  re-encodes
 channels and timepoints during cropping so I can open it with Bio-Formats. <br>
</font></p>
<p><font face="Karla">Moreover, these problematic files open fine with the ImageJ ND2 Reader plugin (<a class="m_6064013233316681339moz-txt-link-freetext" href="https://imagej.nih.gov/ij/plugins/nd2-reader.html" target="_blank">https://imagej.nih.gov/ij/plugins/nd2-reader.html</a>).
<br>
</font></p>
<p><font face="Karla">Thank you for your time.</font></p>
<p><font face="Karla">Best regards,</font><br>
</p>
<div class="m_6064013233316681339moz-signature">-- <br>
Guilhem CHENON <br>
LCMD - ESPCI Paris</div>
<div id="m_6064013233316681339DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody>
<tr>
<td style="width:55px;padding-top:18px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
<td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">
Garanti sans virus. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:#4453ea" target="_blank">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a width="1" height="1"></a></div>
</div>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</div>

_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote></div>