java.security.InvalidAlgorithmParameterException

no IV set when one expected

Solutions on the web37

  • via GitHub by Doplgangr
    , 6 months ago
    no IV set when one expected
  • Missing parameter type: IV expected
  • Missing parameter type: IV expected
  • Stack trace

    • java.security.InvalidAlgorithmParameterException: no IV set when one expected at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineInit(BaseBlockCipher.java:551) at javax.crypto.Cipher.init(Cipher.java:616) at javax.crypto.Cipher.init(Cipher.java:566) at com.doplgangr.secrecy.FileSystem.Encryption.AES_Crypter.<init>(AES_Crypter.java:119) at com.doplgangr.secrecy.FileSystem.Encryption.AES_CTR_Crypter.<init>(AES_CTR_Crypter.java:30) at com.doplgangr.secrecy.FileSystem.Encryption.Vault.<init>(Vault.java:64) at com.doplgangr.secrecy.FileSystem.Encryption.VaultHolder.createAndRetrieveVault(VaultHolder.java:34) at com.doplgangr.secrecy.Jobs.InitializeVaultJob.onRun(InitializeVaultJob.java:29) at com.path.android.jobqueue.BaseJob.safeRun(BaseJob.java:108) at com.path.android.jobqueue.JobHolder.safeRun(JobHolder.java:60) at com.path.android.jobqueue.executor.JobConsumerExecutor$JobConsumer.run(JobConsumerExecutor.java:201) at java.lang.Thread.run(Thread.java:856)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago