java.security.InvalidAlgorithmParameterException: no IV set when one expected

GitHub | Doplgangr | 2 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

    GitHub comment 47#61833775

    GitHub | 2 years ago | Doplgangr
    java.security.InvalidAlgorithmParameterException: no IV set when one expected
  2. 0

    com.snappydb.SnappydbException: Maybe you tried to retrieve an array using this method ? please use getObjectArray instead java.lang.IndexOutOfBoundsException: Invalid index 104, size is 7

    GitHub | 2 years ago | colymore
    com.snappydb.SnappydbException: Maybe you tried to retrieve an array using this method ? please use getObjectArray instead java.lang.IndexOutOfBoundsException: Invalid index 104, size is 7 Serialization trace: date (com.firext.android.model.bbdd.DBWork)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Retrofit2.0 gets MalformedJsonException while the json seems correct?

    Stack Overflow | 1 year ago | seaguest
    com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.InvalidAlgorithmParameterException

      no IV set when one expected

      at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineInit()
    2. RoboVM
      BaseBlockCipher.engineInit
      1. com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineInit(BaseBlockCipher.java:551)
      1 frame
    3. Android Platform
      Cipher.init
      1. javax.crypto.Cipher.init(Cipher.java:616)
      2. javax.crypto.Cipher.init(Cipher.java:566)
      2 frames
    4. com.doplgangr.secrecy
      InitializeVaultJob.onRun
      1. com.doplgangr.secrecy.FileSystem.Encryption.AES_Crypter.<init>(AES_Crypter.java:119)
      2. com.doplgangr.secrecy.FileSystem.Encryption.AES_CTR_Crypter.<init>(AES_CTR_Crypter.java:30)
      3. com.doplgangr.secrecy.FileSystem.Encryption.Vault.<init>(Vault.java:64)
      4. com.doplgangr.secrecy.FileSystem.Encryption.VaultHolder.createAndRetrieveVault(VaultHolder.java:34)
      5. com.doplgangr.secrecy.Jobs.InitializeVaultJob.onRun(InitializeVaultJob.java:29)
      5 frames
    5. com.path.android
      JobConsumerExecutor$JobConsumer.run
      1. com.path.android.jobqueue.BaseJob.safeRun(BaseJob.java:108)
      2. com.path.android.jobqueue.JobHolder.safeRun(JobHolder.java:60)
      3. com.path.android.jobqueue.executor.JobConsumerExecutor$JobConsumer.run(JobConsumerExecutor.java:201)
      3 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:856)
      1 frame