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 4DB2317D35 for ; Thu, 19 Mar 2015 14:47:37 +0000 (UTC) Received: (qmail 35191 invoked by uid 500); 19 Mar 2015 14:46:38 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 35143 invoked by uid 500); 19 Mar 2015 14:46:38 -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 35133 invoked by uid 99); 19 Mar 2015 14:46:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 14:46:38 +0000 Date: Thu, 19 Mar 2015 14:46:38 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-8515) Camel marshal/unmarshal - Should catch throwable in case dataformat causes an java.lang.Error 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-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-8515. -------------------------------- Resolution: Fixed > Camel marshal/unmarshal - Should catch throwable in case dataformat causes an java.lang.Error > --------------------------------------------------------------------------------------------- > > Key: CAMEL-8515 > URL: https://issues.apache.org/jira/browse/CAMEL-8515 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.14.2, 2.15.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.14.3, 2.15.1, 2.16.0 > > > For example if crypto dataformat cannot load some class and throw > {code} > Caused by: java.lang.NoClassDefFoundError: javax/crypto/CipherOutputStream > at org.apache.camel.converter.crypto.CryptoDataFormat.marshal(CryptoDataFormat.java:131) > at org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:81) > at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) > {code} > We should detect and handle that in marshaller / unmarshaller like the rest of the routing engine does. -- This message was sent by Atlassian JIRA (v6.3.4#6332)