question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ArrayIndexOutOfBoundsException in TIFFImageReader#readStripTileData

See original GitHub issue
Caused 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:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
viqueencommented, Aug 24, 2019

Fantastisk ! Jeg vil være på Javazone, vi ses !

1reaction
haraldkcommented, Aug 14, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found