java.lang.ArrayIndexOutOfBoundsException: -1

jensor | sunny803 | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    login error in linux

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

    java.lang.ArrayIndexOutOfBoundsException: -27566080

    Netbeans Bugzilla | 2 decades ago | rpetruzzelli
    java.lang.ArrayIndexOutOfBoundsException: -27566080 at java.awt.image.SinglePixelPackedSampleModel.<init>(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code) at sun.awt.motif.MComponentPeer.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at javax.swing.RepaintManager.getOffscreenBuffer(Compiled Code) at javax.swing.JComponent._paintImmediately(Compiled Code) at javax.swing.JComponent.paintImmediately(Compiled Code) at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code) at org.netbeans.core.windows.PinRepaintRM.paintDirtyRegions(Compiled Code) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code) at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code) at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code) at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) [catch] at java.awt.EventQueue.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code) at java.awt.EventDispatchThread.pumpEvents(Compiled Code)

    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