javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

Stack Overflow | baudo2048 | 2 weeks 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

    Problem installing Oracle Fusion Middleware Infrastructure 12  - Error - CFGFWK-64254

    Oracle Community | 2 months ago | 2708310
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
  2. 0

    Unable to generate tables with eclipse link and oracle db - IllegalBlockSizeException

    Stack Overflow | 2 weeks ago | baudo2048
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
  3. 0

    java.lang.NullPointerException when attempting to decrypt password

    Eclipse Bugzilla | 6 years ago | chia.chia338
    javax.persistence.PersistenceException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. javax.crypto.IllegalBlockSizeException

      Input length must be multiple of 8 when decrypting with padded cipher

      at com.sun.crypto.provider.CipherCore.doFinal()
    2. com.sun.crypto
      DESCipher.engineDoFinal
      1. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:913)
      2. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824)
      3. com.sun.crypto.provider.DESCipher.engineDoFinal(DESCipher.java:314)
      3 frames
    3. Android Platform
      Cipher.doFinal
      1. javax.crypto.Cipher.doFinal(Cipher.java:2165)
      1 frame
    4. EclipseLink (non-OSGi)
      PersistenceProvider.createEntityManagerFactory
      1. org.eclipse.persistence.internal.security.JCEEncryptor.decryptPassword(JCEEncryptor.java:109)
      2. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateLogins(EntityManagerSetupImpl.java:2404)
      3. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateSession(EntityManagerSetupImpl.java:2716)
      4. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:710)
      5. org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:205)
      6. org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:183)
      7. org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getDatabaseSession(EntityManagerFactoryImpl.java:528)
      8. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactoryImpl(PersistenceProvider.java:150)
      9. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:188)
      9 frames
    5. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)
      1 frame
    6. org.eclipse.jpt
      Main.main
      1. org.eclipse.jpt.jpa.eclipselink.core.ddlgen.Main.buildEntityManagerFactory(Main.java:94)
      2. org.eclipse.jpt.jpa.eclipselink.core.ddlgen.Main.execute(Main.java:80)
      3. org.eclipse.jpt.jpa.eclipselink.core.ddlgen.Main.main(Main.java:68)
      3 frames