You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/03/05 04:09:43 UTC

[jira] [Resolved] (CAMEL-7253) PGPDataFormat: NullPointerException if decryptor gets body with invalid format

     [ https://issues.apache.org/jira/browse/CAMEL-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-7253.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13.0
                   2.12.4

> PGPDataFormat: NullPointerException if decryptor gets body with invalid format
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-7253
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7253
>             Project: Camel
>          Issue Type: Bug
>          Components:  camel-crypto
>    Affects Versions: 2.12.3
>            Reporter: Franz Forsthofer
>            Assignee: Willem Jiang
>             Fix For: 2.12.4, 2.13.0
>
>         Attachments: 0001-pgp-NullPointer-exception-if-incorrect-input.patch
>
>
> if the PGPDataFormat gets an invalid format during the decryption process a NullPointerException is thrown.
> The attached patch throws an IllegalArgumentException instead and improves further error situations if a wrong formated input is provided.



--
This message was sent by Atlassian JIRA
(v6.2#6252)