You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "York, Barry" <Ba...@CenturyLink.com> on 2016/01/19 04:39:07 UTC

[jira] Resolved: (CAMEL-2867) convertBodyTo should handle null bodies

I'm seeing this issue again using Camel 2.16.1. Thoughts?

The same code worked for me using Camel 2.15.x.

Or, perhaps I am misinterpreting the output:
org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: null to the required type: java.lang.String with value null
       at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:185)
       at org.apache.camel.processor.SendDynamicProcessor.resolveEndpoint(SendDynamicProcessor.java:144)
       at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:104)
       at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
       at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
       at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
       at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)
       at org.apache.camel.processor.WireTapProcessor$1.call(WireTapProcessor.java:137)
       at org.apache.camel.processor.WireTapProcessor$1.call(WireTapProcessor.java:133)
       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:744)
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.