org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value: Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null] of type: uk.gov.insolvency.microservices.pojos.Address on: Message[ID-Andrews-MacBook-Pro-local-56293-1472721966485-0-3]. Caused by: No type converter available to convert from type: uk.gov.insolvency.microservices.pojos.Address to the required type: java.io.InputStream with value Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null]. Exchange[ID-Andrews-MacBook-Pro-local-56293-1472721966485-0-4]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: uk.gov.insolvency.microservices.pojos.Address to the required type: java.io.InputStream with value Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null]]

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

    Camel Routing from AMQP to RESTful endpoint

    Stack Overflow | 7 months ago | Andrew Harrison
    org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value: Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null] of type: uk.gov.insolvency.microservices.pojos.Address on: Message[ID-Andrews-MacBook-Pro-local-56293-1472721966485-0-3]. Caused by: No type converter available to convert from type: uk.gov.insolvency.microservices.pojos.Address to the required type: java.io.InputStream with value Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null]. Exchange[ID-Andrews-MacBook-Pro-local-56293-1472721966485-0-4]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: uk.gov.insolvency.microservices.pojos.Address to the required type: java.io.InputStream with value Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null]]
  2. 0

    How Can I Get the Camel Content Enricher to Process an Exchange from a REST Call?

    Stack Overflow | 10 months ago | Michael Hoffman
    org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value: OrderForm [customerId=1, catalogItemId=1] of type: com.nvisia.examples.camel.orderrouter.OrderForm on: Message[]. Caused by: No type converter available to convert from type: com.nvisia.examples.camel.orderrouter.OrderForm to the required type: java.io.InputStream with value OrderForm [customerId=1, catalogItemId=1]. Exchange[ID-nvisia-mhoffman-50981-1463522552963-0-8]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: com.nvisia.examples.camel.orderrouter.OrderForm to the required type: java.io.InputStream with value OrderForm [customerId=1, catalogItemId=1]]
  3. 0

    Re: [akka-user] akka with jetty-websockets

    Google Groups | 4 years ago | Patrik Nordwall
    c98216070ae1akka.camel.AkkaCamelException: No body available of type: java.lang.String on: Message: [Body is null]. Caused by: No type converter available to convert from type: null to the required type: java.lang.String with value null. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.lang.String with value null]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors

    Root Cause Analysis

    1. org.apache.camel.NoTypeConversionAvailableException

      No type converter available to convert from type: uk.gov.insolvency.microservices.pojos.Address to the required type: java.io.InputStream with value Address [houseNumber=null, postcode=DY10 4TW, line1=null, line2=null, line3=null, line4=null, locality=null, town=null, county=null]

      at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo()
    2. Camel :: Core
      MessageSupport.getMandatoryBody
      1. org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:198)
      2. org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:105)
      2 frames
    3. Camel :: HTTP4 (HttpClient 4.x)
      HttpProducer.process
      1. org.apache.camel.component.http4.HttpProducer.createRequestEntity(HttpProducer.java:523)
      2. org.apache.camel.component.http4.HttpProducer.createMethod(HttpProducer.java:422)
      3. org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:110)
      3 frames
    4. Camel :: Core
      DelegateAsyncProcessor.process
      1. org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
      2. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
      3. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      4. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:681)
      5. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:609)
      6. org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:238)
      7. org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:170)
      8. org.apache.camel.processor.RecipientList.process(RecipientList.java:131)
      9. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
      10. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      11. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
      12. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
      13. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      14. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)
      15. org.apache.camel.processor.Pipeline.process(Pipeline.java:83)
      16. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      17. org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
      18. org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91)
      18 frames
    5. amqp.spring.camel
      SpringAMQPConsumer$RabbitMQMessageListener.onMessage
      1. amqp.spring.camel.component.SpringAMQPConsumer$RabbitMQMessageListener.onMessage(SpringAMQPConsumer.java:201)
      1 frame
    6. Spring RabbitMQ Support
      SimpleMessageListenerContainer$1.invokeListener
      1. org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:757)
      2. org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:680)
      3. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:93)
      4. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:183)
      4 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      3 frames
    9. Spring Retry
      StatefulRetryOperationsInterceptor.invoke
      1. org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor$MethodInvocationRetryCallback.doWithRetry(StatefulRetryOperationsInterceptor.java:162)
      2. org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:276)
      3. org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:201)
      4. org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor.invoke(StatefulRetryOperationsInterceptor.java:137)
      4 frames
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
      2 frames
    11. com.sun.proxy
      $Proxy50.invokeListener
      1. com.sun.proxy.$Proxy50.invokeListener(Unknown Source)
      1 frame
    12. Spring RabbitMQ Support
      SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run
      1. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1358)
      2. org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:661)
      3. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1102)
      4. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1086)
      5. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1100(SimpleMessageListenerContainer.java:93)
      6. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1203)
      6 frames
    13. amqp.spring.camel
      SpringAMQPConsumer$SpringAMQPExecutorTask.run
      1. amqp.spring.camel.component.SpringAMQPConsumer$SpringAMQPExecutorTask.run(SpringAMQPConsumer.java:316)
      2. amqp.spring.camel.component.SpringAMQPConsumer$SpringAMQPExecutorTask.run(SpringAMQPConsumer.java:316)
      2 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame