Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9227

No type converter available to convert from Bean to List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.16.1
    • 2.16.1
    • camel-dozer
    • None
    • Unknown

    Description

      Tests in error: 
        CSVIntegrationTest.testMarshalViaDozer:101 ยป CamelExecution Exception occurred...
      
      Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
      
      Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: org.wildfly.camel.test.common.types.Customer to the required type: java.util.List with value org.wildfly.camel.test.common.types.Customer@42776551
      	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:185)
      	at org.apache.camel.util.ExchangeHelper.convertToMandatoryType(ExchangeHelper.java:187)
      	at org.apache.camel.dataformat.csv.CsvMarshaller.getRecordValues(CsvMarshaller.java:95)
      	at org.apache.camel.dataformat.csv.CsvMarshaller.marshal(CsvMarshaller.java:82)
      	at org.apache.camel.dataformat.csv.CsvDataFormat.marshal(CsvDataFormat.java:82)
      

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              tdiesler Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: