org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String but has value: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207 of type: org.apache.servicemix.soap.util.stax.StaxSource on: Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Caused by: No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Exchange[Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]

servicemix-users | Scott Came | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: Large(ish) message issue (CXFBC and Camel)

    servicemix-users | 6 years ago | Scott Came
    org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String but has value: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207 of type: org.apache.servicemix.soap.util.stax.StaxSource on: Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Caused by: No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Exchange[Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]
  2. 0

    Re: Large(ish) message issue (CXFBC and Camel)

    servicemix-users | 6 years ago | Claus Ibsen
    org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String but has value: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207 of type: org.apache.servicemix.soap.util.stax.StaxSource on: Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Caused by: No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Exchange[Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]

    Root Cause Analysis

    1. org.apache.camel.InvalidPayloadException

      No body available of type: java.lang.String but has value: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207 of type: org.apache.servicemix.soap.util.stax.StaxSource on: Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Caused by: No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207. Exchange[Message: org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: org.apache.servicemix.soap.util.stax.StaxSource to the required type: java.lang.String with value org.apache.servicemix.soap.util.stax.StaxSource@4f6a4207]

      at org.apache.camel.impl.MessageSupport.getMandatoryBody()
    2. Camel :: Core
      InstrumentationProcessor.process
      1. org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:103)
      2. org.apache.camel.processor.ConvertBodyProcessor.process(ConvertBodyProcessor.java:57)
      3. org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
      4. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      5. org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      6. org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      7. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
      8. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      9. org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      10. org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      11. org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
      12. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      13. org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      14. org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      15. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
      16. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      17. org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:290)
      18. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:202)
      19. org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
      20. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      21. org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
      22. org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
      23. org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
      24. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      25. org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      26. org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      27. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
      27 frames
    3. org.apache.servicemix
      AsyncBaseLifeCycle$2.run
      1. org.apache.servicemix.camel.CamelProviderEndpoint$1.call(CamelProviderEndpoint.java:109)
      2. org.apache.servicemix.camel.JbiBinding.runWithCamelContextClassLoader(JbiBinding.java:116)
      3. org.apache.servicemix.camel.CamelProviderEndpoint.handleActiveProviderExchange(CamelProviderEndpoint.java:107)
      4. org.apache.servicemix.camel.CamelProviderEndpoint.process(CamelProviderEndpoint.java:85)
      5. org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:651)
      6. org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:606)
      7. org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:501)
      8. org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:370)
      8 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:680)
      3 frames