java.lang.ArrayIndexOutOfBoundsException: -1 < 0

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

Solutions on the web

via xml-security-dev by hyejung, 1 year ago
via xml-security-dev by Dittmann Werner, 4 months ago
via Oracle Community by 843811, 1 year ago
via Oracle Community by 843811, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: -1 < 0
at java.util.Vector.elementAt(Vector.java:437)
at org.apache.xml.security.encryption.XMLCipher$Factory.newEncryptedData(XMLCipher.java:2182)
at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1367)
at org.apache.xml.security.encryption.XMLCipher.decryptElement(XMLCipher.java:1299)
at undefined.XmlEncryptionTester.testDecryptOnly(XmlEncryptionTester.java:659)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 more bugmates

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