You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/03/19 15:44:38 UTC

[jira] [Created] (CAMEL-8515) Camel marshal/unmarshal - Should catch throwable in case dataformat causes an java.lang.Error

Claus Ibsen created CAMEL-8515:
----------------------------------

             Summary: 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.15.0, 2.14.2
            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)