Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6817

Multiple NPE during unmarshal with PGPDateFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.1
    • 2.12.2, 2.13.0
    • camel-crypto
    • None
    • Win 7, 64bit, Oracle JDK 1.6, bouncycastle.

    • Unknown

    Description

      Current behavior:

      1. Try to unmarshal (PGPDateFormat) not encrypted file, just plain text.
      2. You will get NPE exception.

      1. Try to unmarshal (PGPDateFormat) encrypted file with different keys
      2. You will get NPE exception.

      Expected behavior:

      1. Try to unmarshal (PGPDateFormat) not encrypted file, just plain text.
      2. You will get PGPException says "input is not encrypted"

      1. Try to unmarshal (PGPDateFormat) encrypted file with different keys
      2. You will get PGPException says "wrong keys used"

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            milan.baran Milan Baran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: