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

No type converter available to convert from Bean to List

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.1
    • Fix Version/s: 2.16.1
    • Component/s: camel-dozer
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: