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

Large NDPI files fail to open with java.lang.ClassCastException #3725

Closed
sbesson opened this issue Sep 7, 2021 · 0 comments · Fixed by #3852
Closed

Large NDPI files fail to open with java.lang.ClassCastException #3725

sbesson opened this issue Sep 7, 2021 · 0 comments · Fixed by #3852
Labels
bug Something isn't working reader:NDPI

Comments

@sbesson
Copy link
Member

sbesson commented Sep 7, 2021

Reported via QA 30384, some large NDPI files (>4GB) fail to open with the following stack trace

java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
	at loci.formats.in.NDPIReader.initStandardMetadata(NDPIReader.java:381)
	at loci.formats.in.BaseTiffReader.initMetadata(BaseTiffReader.java:97)
	at loci.formats.in.BaseTiffReader.initFile(BaseTiffReader.java:586)
	at loci.formats.in.NDPIReader.initFile(NDPIReader.java:311)

Two representative NDPI samples have been uploaded (as multi-part) as https://doi.org/10.5281/zenodo.5337013.

Support for large NDPI files (>4GB) had been improved in #3505 but the latest released version of Bio-Formats (6.7.0) still fails against these files. tiffinfo sanity checks also fail against these files. However the files themselves load without problem into Hamamatsu NDP.View2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reader:NDPI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant