java.io.EOFException: premature end of stream in PartialInputStream

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

    BouncyCastle decryption - premature end of stream in PartialInputStream

    Stack Overflow | 1 year ago | alan
    java.io.EOFException: premature end of stream in PartialInputStream
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    BouncyCastle PGP Encryption / Decryption: Caused by: java.io.EOFException: premature end of stream in PartialInputStream

    itquestionz.com | 1 year ago
    com.example.common.crypto.CipherException: org.bouncycastle.openpgp.PGPException: Exception starting decryption
  4. 0

    Bouncycastle PGP decrypt and verify

    Stack Overflow | 3 years ago | Ramo
    java.io.EOFException: premature end of stream in PartialInputStream

    Root Cause Analysis

    1. java.io.EOFException

      premature end of stream in PartialInputStream

      at org.bouncycastle.bcpg.BCPGInputStream$PartialInputStream.read()
    2. Bouncy Castle OpenPGP API
      BCPGInputStream.read
      1. org.bouncycastle.bcpg.BCPGInputStream$PartialInputStream.read(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      2 frames
    3. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:82)
      1 frame
    4. BouncyCastle
      CipherInputStream.read
      1. org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source)
      2. org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source)
      2 frames
    5. Bouncy Castle OpenPGP API
      PGPEncryptedData$TruncatedStream.read
      1. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      2. org.bouncycastle.openpgp.PGPEncryptedData$TruncatedStream.read(Unknown Source)
      2 frames
    6. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:151)
      1 frame
    7. BouncyCastle
      TeeInputStream.read
      1. org.bouncycastle.util.io.TeeInputStream.read(Unknown Source)
      1 frame
    8. Bouncy Castle OpenPGP API
      PGPCompressedData$1.fill
      1. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGInputStream$PartialInputStream.read(Unknown Source)
      3. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      4. org.bouncycastle.openpgp.PGPCompressedData$1.fill(Unknown Source)
      4 frames
    9. Java RT
      InflaterInputStream.read
      1. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
      1 frame
    10. Bouncy Castle OpenPGP API
      BCPGInputStream.read
      1. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGInputStream$PartialInputStream.read(Unknown Source)
      3. org.bouncycastle.bcpg.BCPGInputStream.read(Unknown Source)
      3 frames
    11. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:82)
      1 frame