java.io.IOException: pad block corrupted

nabble.com | 4 months ago
  1. 0

    BadPaddingException when decrypting with PDFBox

    Stack Overflow | 2 years ago | Thunderforge
    java.io.IOException: javax.crypto.BadPaddingException: Given final block not properly padded
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Re: Problem while decrypting a pdf file in Linux

    apache.org | 1 year ago
    java.io.IOException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

    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.io.IOException

      pad block corrupted

      at javax.crypto.CipherInputStream.read()
    2. Android Platform
      CipherInputStream.read
      1. javax.crypto.CipherInputStream.read(CipherInputStream.java:100)
      2. javax.crypto.CipherInputStream.read(CipherInputStream.java:155)
      3. javax.crypto.CipherInputStream.read(CipherInputStream.java:123)
      3 frames
    3. Java RT
      BufferedInputStream.read
      1. java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:140)
      2. java.io.BufferedInputStream.read(BufferedInputStream.java:324)
      2 frames
    4. BouncyCastle
      CMSTypedStream$FullReaderStream.read
      1. org.bouncycastle.cms.CMSTypedStream$FullReaderStream.read(CMSTypedStream.java:83)
      1 frame
    5. Java RT
      Properties.load
      1. java.io.InputStreamReader.read(InputStreamReader.java:255)
      2. java.io.BufferedReader.fillBuf(BufferedReader.java:128)
      3. java.io.BufferedReader.read(BufferedReader.java:236)
      4. java.util.Properties.load(Properties.java:307)
      5. java.util.Properties.load(Properties.java:266)
      5 frames
    6. de.netsysit.securityapi
      CSecurityAPI$1.run
      1. de.netsysit.securityapi.CPropertyHandler.<init>(CPropertyHandler.java:135)
      2. de.netsysit.securityapi.CPropertyHandler.getInstance(CPropertyHandler.java:69)
      3. de.netsysit.securityapi.CSecurityAPI.handleTimer(CSecurityAPI.java:238)
      4. de.netsysit.securityapi.CSecurityAPI.access$0(CSecurityAPI.java:218)
      5. de.netsysit.securityapi.CSecurityAPI$1.run(CSecurityAPI.java:1069)
      5 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:1019)
      1 frame