Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting to ICS can throw ArrayIndexOutOfBoundsException #2237

Closed
ctrueden opened this issue Feb 10, 2016 · 4 comments
Closed

Exporting to ICS can throw ArrayIndexOutOfBoundsException #2237

ctrueden opened this issue Feb 10, 2016 · 4 comments

Comments

@ctrueden
Copy link
Member

Macro to reproduce:

run("Organ of Corti (2.8M, 4D stack)");
outDir = "/home/curtis/Desktop";
run("Bio-Formats Exporter", "save=" + outDir + "/organ-of-corti.ics write_each_channel");

Relevant stack trace:

(Fiji Is Just) ImageJ 2.0.0-rc-44/1.50e; Java 1.8.0_66 [64-bit]; Linux 3.19.0-39-generic; 55MB of 1065MB (5%)

java.lang.ArrayIndexOutOfBoundsException: 15
    at loci.formats.out.ICSWriter.saveBytes(ICSWriter.java:130)
    at loci.formats.FormatWriter.saveBytes(FormatWriter.java:124)
    at loci.plugins.out.Exporter.run(Exporter.java:767)
    at loci.plugins.LociExporter.run(LociExporter.java:75)

Exception is the same using both release (Bio-Formats 5.1.7) and dev version (Bio-Formats 5.1.7-DEV 62c4dd8, 9 February 2016).

Reported by @tischi on this ImageJ forum thread.

@bramalingam
Copy link
Member

Thank you for submitting the issue Curtis. The same was reproducible locally, and a card has been created on this regard.
https://trello.com/c/L7dtKWsl/96-bio-format-exporter-issues

@ctrueden
Copy link
Member Author

Thanks @bramalingam !

@joshmoore
Copy link
Member

Closing in favor of the card. Thanks, guys.

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/problem-with-bio-format-exporter/58192/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants