org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.unifyv4.ws.CreateOrganisationResponse to the required type: java.io.InputStream with value com.unifyv4.ws.CreateOrganisationResponse@312ea56e Detailed Stack Trace: n | BodyType com.unifyv4.ws.CreateOrganisationResponse n | Body com.unifyv4.ws.CreateOrganisationResponse@2c9a5080 n | ]n | n | Stacktracen | java.io.IOException: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.unifyv4.ws.CreateOrganisationResponse to the required type: java.io.InputStream with value com.unifyv4.ws.CreateOrganisationResponse@2c9a5080 at org.apache.camel.converter.jaxb.JaxbDataFormat.marshal(JaxbDataFormat.java:141)[235:org.apache.camel.camel-jaxb:2.15.1.redhat-621084]

Stack Overflow | Rakesh Chhabria | 10 months 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

    Unable to unmarshall the CXF web service object to XML

    Stack Overflow | 10 months ago | Rakesh Chhabria
    org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.unifyv4.ws.CreateOrganisationResponse to the required type: java.io.InputStream with value com.unifyv4.ws.CreateOrganisationResponse@312ea56e Detailed Stack Trace: n | BodyType com.unifyv4.ws.CreateOrganisationResponse n | Body com.unifyv4.ws.CreateOrganisationResponse@2c9a5080 n | ]n | n | Stacktracen | java.io.IOException: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.unifyv4.ws.CreateOrganisationResponse to the required type: java.io.InputStream with value com.unifyv4.ws.CreateOrganisationResponse@2c9a5080 at org.apache.camel.converter.jaxb.JaxbDataFormat.marshal(JaxbDataFormat.java:141)[235:org.apache.camel.camel-jaxb:2.15.1.redhat-621084]

    Root Cause Analysis

    1. org.apache.camel.NoTypeConversionAvailableException

      No type converter available to convert from type: com.unifyv4.ws.CreateOrganisationResponse to the required type: java.io.InputStream with value com.unifyv4.ws.CreateOrganisationResponse@2c9a5080 at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]

      at org.apache.camel.core.osgi.OsgiTypeConverter.mandatoryConvertTo()
    2. Camel :: Spring
      OsgiTypeConverter.mandatoryConvertTo
      1. org.apache.camel.core.osgi.OsgiTypeConverter.mandatoryConvertTo(OsgiTypeConverter.java:122)[204:org.apache.camel.camel-blueprint:2.15.1.redhat-621084]
      1 frame
    3. Camel :: JAXB
      JaxbDataFormat.marshal
      1. org.apache.camel.converter.jaxb.JaxbDataFormat.marshal(JaxbDataFormat.java:172)[235:org.apache.camel.camel-jaxb:2.15.1.redhat-621084]
      2. org.apache.camel.converter.jaxb.JaxbDataFormat.marshal(JaxbDataFormat.java:138)[235:org.apache.camel.camel-jaxb:2.15.1.redhat-621084]
      2 frames
    4. Camel :: Core
      SendProcessor$1.done
      1. org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:83)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      2. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      3. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      4. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      5. org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      6. org.apache.camel.processor.Pipeline.access$100(Pipeline.java:44)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      7. org.apache.camel.processor.Pipeline$1.done(Pipeline.java:139)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      8. org.apache.camel.processor.CamelInternalProcessor$InternalCallback.done(CamelInternalProcessor.java:251)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      9. org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:460)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      10. org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:86)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      11. org.apache.camel.processor.SendProcessor$1.done(SendProcessor.java:149)[198:org.apache.camel.camel-core:2.15.1.redhat-621084]
      11 frames
    5. Camel :: CXF
      CxfClientCallback.handleResponse
      1. org.apache.camel.component.cxf.CxfClientCallback.handleResponse(CxfClientCallback.java:61)[207:org.apache.camel.camel-cxf:2.15.1.redhat-621084]
      1 frame
    6. Apache CXF Core
      ClientImpl.onMessage
      1. org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:823)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      1 frame
    7. Apache CXF Runtime HTTP Transport
      HTTPConduit$WrappedOutputStream$1.run
      1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1644)[96:org.apache.cxf.cxf-rt-transports-http:3.0.4.redhat-621084]
      2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1155)[96:org.apache.cxf.cxf-rt-transports-http:3.0.4.redhat-621084]
      2 frames
    8. Apache CXF Core
      AutomaticWorkQueueImpl$3.run
      1. org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      1 frame
    9. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_40]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_40]
      2 frames
    10. Apache CXF Core
      AutomaticWorkQueueImpl$AWQThreadFactory$1.run
      1. org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[:1.8.0_40]
      1 frame