java.lang.NegativeArraySizeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GCM & CCM example for BouncyCastle
    via by Richard Tookey,
    • java.lang.NegativeArraySizeException at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(Cipher.java:1969) at javax.crypto.CipherInputStream.close(CipherInputStream.java:299)
    No Bugmate found.