ArrayIndexOutOfBoundsException in TIFFImageReader#readStripTileData
See original GitHub issueCaused by: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 217 out of bounds for byte[216]
at java.base/java.lang.System.arraycopy(Native Method)
at com.twelvemonkeys.imageio.plugins.tiff.TIFFImageReader.readStripTileData(TIFFImageReader.java:1874)
at com.twelvemonkeys.imageio.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1095)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fantastisk ! Jeg vil være på Javazone, vi ses !
Hi Hasnae,
Thanks for reporting!
What version of the library did you use? And can you please share the TIFF file that caused the exception?
Update: The lines from the stack trace indicates you are using custom read parameters (i.e. subsampling). Can you also share these parameters, or the full code, so that I am able to reproduce the problem?
Best regards,
– Harald K