java.lang.ArrayIndexOutOfBoundsException: -1

jensor | sunny803 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    login error in linux

    jensor | 8 years ago | sunny803
    java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at gnu.javax.crypto.pad.PKCS7.unpad()
    2. gnu.javax.crypto
      CipherAdapter.engineDoFinal
      1. gnu.javax.crypto.pad.PKCS7.unpad(libgcj.so.7rh)
      2. gnu.javax.crypto.jce.cipher.CipherAdapter.engineDoFinal(libgcj.so.7rh)
      2 frames
    3. Android Platform
      CipherInputStream.read
      1. javax.crypto.Cipher.doFinal(libgcj.so.7rh)
      2. javax.crypto.Cipher.doFinal(libgcj.so.7rh)
      3. javax.crypto.CipherInputStream.nextBlock(libgcj.so.7rh)
      4. javax.crypto.CipherInputStream.read(libgcj.so.7rh)
      5. javax.crypto.CipherInputStream.read(libgcj.so.7rh)
      5 frames
    4. com.tcs.perc
      LoginActionListener.actionPerformed
      1. com.tcs.perc.jensor.UI.Encrypt.doDecrypt(Encrypt.java:149)
      2. com.tcs.perc.jensor.UI.LoginActionListener.createHashtable(LoginActionListener.java:70)
      3. com.tcs.perc.jensor.UI.LoginActionListener.actionPerformed(LoginActionListener.java:91)
      3 frames
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(libgcj.so.7rh)
      2. javax.swing.AbstractButton$1.actionPerformed(libgcj.so.7rh)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(libgcj.so.7rh)
      4. javax.swing.DefaultButtonModel.setPressed(libgcj.so.7rh)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(libgcj.so.7rh)
      6. java.awt.Component.processMouseEvent(libgcj.so.7rh)
      7. java.awt.Component.processEvent(libgcj.so.7rh)
      8. java.awt.Container.processEvent(libgcj.so.7rh)
      9. java.awt.Component.dispatchEventImpl(libgcj.so.7rh)
      10. java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
      11. java.awt.Component.dispatchEvent(libgcj.so.7rh)
      12. java.awt.LightweightDispatcher.handleMouseEvent(libgcj.so.7rh)
      13. java.awt.LightweightDispatcher.dispatchEvent(libgcj.so.7rh)
      14. java.awt.Container.dispatchEventImpl(libgcj.so.7rh)
      15. java.awt.Window.dispatchEventImpl(libgcj.so.7rh)
      16. java.awt.Component.dispatchEvent(libgcj.so.7rh)
      17. java.awt.EventQueue.dispatchEvent(libgcj.so.7rh)
      18. java.awt.EventDispatchThread.run(libgcj.so.7rh)
      18 frames