Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C74B4101F9 for ; Thu, 3 Oct 2013 10:19:48 +0000 (UTC) Received: (qmail 3641 invoked by uid 500); 3 Oct 2013 10:19:48 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 3560 invoked by uid 500); 3 Oct 2013 10:19:44 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 3223 invoked by uid 99); 3 Oct 2013 10:19:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 10:19:42 +0000 Date: Thu, 3 Oct 2013 10:19:42 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-6817) Multiple NPE during unmarshal with PGPDateFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-6817. -------------------------------- Resolution: Fixed Fix Version/s: 2.13.0 2.12.2 Assignee: Claus Ibsen Thanks for the patch. > Multiple NPE during unmarshal with PGPDateFormat > ------------------------------------------------ > > Key: CAMEL-6817 > URL: https://issues.apache.org/jira/browse/CAMEL-6817 > Project: Camel > Issue Type: Bug > Components: camel-crypto > Affects Versions: 2.12.1 > Environment: Win 7, 64bit, Oracle JDK 1.6, bouncycastle. > Reporter: Milan Baran > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.12.2, 2.13.0 > > Attachments: CAMEL-6817__Multiple_NPE_during_unmarshalling_with_PGPDateFormat.patch, CAMEL-6817__Multiple_NPE_during_unmarshalling_with_PGPDateFormat.patch.asc > > > 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" -- This message was sent by Atlassian JIRA (v6.1#6144)