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 | Claus Ibsen | 6 years ago
  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]
  3. 0

    Camel bean binding tries to convert the body to Exchange

    Stack Overflow | 8 months ago | Gogol
    org.apache.camel.InvalidPayloadException: No body available of type: org.apache.camel.Exchange but has value: [com.gogol.schema.TestResourcec@6b651b67] of type: org.apache.cxf.message.MessageContentsList on: Message: [com.gogol.schema.TestResourcec@6b651b67]. Caused by: No type converter available to convert from type: org.apache.cxf.message.MessageContentsList to the required type: org.apache.camel.Exchange with value [com.gogol.schema.TestResourcec@6b651b67]. Exchange[Message: [com.gogol.schema.TestResourcec@6b651b67]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: org.apache.cxf.message.MessageContentsList to the required type: org.apache.camel.Exchange with value [com.gogol.schema.TestResourcec@6b651b67]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XDSRegistryError : cannot serialize packet

    Google Groups | 3 years ago | Swati Gour
    org.apache.camel.InvalidPayloadException: No body available of type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet but has value: java.io.ByteArrayInputStream@5564618f of type: java.io.ByteArrayInputStream on: Message: [Body is instance of java.io.InputStream]. Caused by: Error during type conversion from type: java.io.ByteArrayInputStream to the required type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet with value java.io.ByteArrayInputStream@5564618f due null. Exchange[Message: [Body is instance of java.io.InputStream]]. Caused by: [org.apache.camel.TypeConversionException - Error during type conversion from type: java.io.ByteArrayInputStream to the required type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet with value java.io.ByteArrayInputStream@5564618f due null] :
  6. 0

    XDSRegistryError : cannot serialize packet

    Google Groups | 3 years ago | Swati Gour
    org.apache.camel.InvalidPayloadException: No body available of type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet but has value: java.io.ByteArrayInputStream@5564618f of type: java.io.ByteArrayInputStream on: Message: [Body is instance of java.io.InputStream]. Caused by: Error during type conversion from type: java.io.ByteArrayInputStream to the required type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet with value java.io.ByteArrayInputStream@5564618f due null. Exchange[Message: [Body is instance of java.io.InputStream]]. Caused by: [org.apache.camel.TypeConversionException - Error during type conversion from type: java.io.ByteArrayInputStream to the required type: org.openehealth.ipf.commons.ihe.xds.core.requests.RegisterDocumentSet with value java.io.ByteArrayInputStream@5564618f due null] :

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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