java.lang.ArrayIndexOutOfBoundsException: -1

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

java.lang.ArrayIndexOutOfBoundsException: -1
at gnu.javax.crypto.pad.PKCS7.unpad(libgcj.so.7rh)
at gnu.javax.crypto.jce.cipher.CipherAdapter.engineDoFinal(libgcj.so.7rh)
at javax.crypto.Cipher.doFinal(libgcj.so.7rh)
at javax.crypto.Cipher.doFinal(libgcj.so.7rh)
at javax.crypto.CipherInputStream.nextBlock(libgcj.so.7rh)
at javax.crypto.CipherInputStream.read(libgcj.so.7rh)
at com.tcs.perc.jensor.UI.Encrypt.doDecrypt(Encrypt.java:149)
at com.tcs.perc.jensor.UI.LoginActionListener.createHashtable(LoginActionListener.java:70)
at com.tcs.perc.jensor.UI.LoginActionListener.actionPerformed(LoginActionListener.java:91)
at javax.swing.AbstractButton.fireActionPerformed(libgcj.so.7rh)
at javax.swing.AbstractButton$1.actionPerformed(libgcj.so.7rh)
at javax.swing.DefaultButtonModel.fireActionPerformed(libgcj.so.7rh)
at javax.swing.DefaultButtonModel.setPressed(libgcj.so.7rh)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(libgcj.so.7rh)
at java.awt.Component.processMouseEvent(libgcj.so.7rh)
at java.awt.Component.processEvent(libgcj.so.7rh)
at java.awt.Container.processEvent(libgcj.so.7rh)
at java.awt.Component.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Component.dispatchEvent(libgcj.so.7rh)
at java.awt.LightweightDispatcher.handleMouseEvent(libgcj.so.7rh)
at java.awt.LightweightDispatcher.dispatchEvent(libgcj.so.7rh)
at java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Window.dispatchEventImpl(libgcj.so.7rh)
at java.awt.Component.dispatchEvent(libgcj.so.7rh)
at java.awt.EventQueue.dispatchEvent(libgcj.so.7rh)

Users with the same issue

You are the first who have seen this exception.

Write tip

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