camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varanasi Aditya Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-9353) Getting the run time exception while Marshalling using JAXB Marshaller
Date Mon, 23 Nov 2015 17:20:11 GMT

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

Varanasi Aditya Kumar updated CAMEL-9353:
-----------------------------------------
    Summary: Getting the run time exception while Marshalling using JAXB Marshaller  (was:
Getting the run time exception while doing JAXB marshaling while executing one of our camel
route)

> Getting the run time exception while Marshalling using JAXB Marshaller
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-9353
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9353
>             Project: Camel
>          Issue Type: Test
>          Components: camel-core
>    Affects Versions: 2.15.2
>         Environment: karaf 3.0.3
> camel 2.15.2
> jdk-1.8
> JaxB 2.0
>            Reporter: Varanasi Aditya Kumar
>
> [javax.xml.bind.PropertyException: property "com.sun.xml.bind.characterEscapeHandler"
must be an instance of type com.sun.xml.bind.marshaller.CharacterEscapeHandler, not com.test.jaxb.util.ExampleTransform$1
> 	at com.sun.xml.bind.v2.runtime.MarshallerImpl.setProperty(MarshallerImpl.java:492)
> 	at com.test.jaxb.util.ExampleTransform.toXML(ExampleTransform.java:301)
> 	at com.test.jaxb.util.ExampleTransform.toXML(ExampleTransform.java:275)
> 	at com.test.jaxb.util.ExampleTransform.transform(ExampleTransform.java:147)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:483)
> 	at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)
> 	at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)
> 	at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)
> 	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:171)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
> 	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)
> 	at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)
> 	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.processor.LoopProcessor.process(LoopProcessor.java:109)
> 	at org.apache.camel.processor.LoopProcessor.process(LoopProcessor.java:79)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)
> 	at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:136)
> 	at org.apache.camel.processor.ThreadsProcessor$ProcessCall.run(ThreadsProcessor.java:83)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> ]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message