java.lang.IllegalArgumentException: Copy range out of array bounds


Solutions on the web3

Solution icon of github
via GitHub by sinedsem
, 9 months ago
Copy range out of array bounds

Solution icon of github
Copy range out of array bounds

Solution icon of github
via GitHub by sinedsem
, 8 months ago
Copy range out of array bounds

Stack trace

java.lang.IllegalArgumentException: Copy range out of array bounds
	at com.icafe4j.util.ArrayUtils.subArray(ArrayUtils.java:913)
	at com.icafe4j.image.meta.iptc.IPTCDataSet.hashCode(IPTCDataSet.java:186)
	at java.util.HashMap.hash(HashMap.java:338)
	at java.util.HashMap.put(HashMap.java:611)
	at java.util.HashSet.add(HashSet.java:219)
	at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
	at java.util.LinkedHashSet.<init>(LinkedHashSet.java:169)
	at com.icafe4j.image.meta.iptc.IPTC.read(IPTC.java:162)
	at com.icafe4j.image.meta.Metadata.ensureDataRead(Metadata.java:497)
	at com.icafe4j.image.meta.iptc.IPTC.<init>(IPTC.java:68)
	at com.icafe4j.image.meta.adobe.IPTC_NAA.<init>(IPTC_NAA.java:49)
	at com.icafe4j.image.meta.adobe.IRB.read(IRB.java:129)
	at com.icafe4j.image.meta.Metadata.ensureDataRead(Metadata.java:497)
	at com.icafe4j.image.meta.adobe.IRB.get8BIM(IRB.java:75)
	at com.icafe4j.image.jpeg.JPEGTweaker.readMetadata(JPEGTweaker.java:1514)
	at com.icafe4j.image.meta.Metadata.readMetadata(Metadata.java:424)
	at com.icafe4j.image.meta.Metadata.readMetadata(Metadata.java:402)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.