java.lang.IllegalArgumentException: Invalid offset/length combination

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by MuthuKK, 1 year ago
Invalid offset/length combination
java.lang.IllegalArgumentException: Invalid offset/length combination
at javax.crypto.spec.SecretKeySpec.(SecretKeySpec.java:148)
at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:98)
at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:100)
at org.identityconnectors.genericws.utils.EncryptionUtil.initializeCipher(EncryptionUtil.java:108)
at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:59)
at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:81)
at org.identityconnectors.genericws.utils.ConversionUtil.typeCast(ConversionUtil.java:247)
at org.identityconnectors.genericws.GenericWSConnector.update(GenericWSConnector.java:387)

Users with the same issue

2 times, 1 month ago
Once, 1 year ago
33 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.