[
https://issues.apache.org/jira/browse/CAMEL-9227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960582#comment-14960582
]
ASF GitHub Bot commented on CAMEL-9227:
---------------------------------------
GitHub user tdiesler opened a pull request:
https://github.com/apache/camel/pull/647
[CAMEL-9227] No type converter available to convert from Bean to List
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tdiesler/camel CAMEL-9227m
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/647.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #647
----
commit 6c51c2f6c3bd296b4c63dec25db09fac7bea199d
Author: Thomas Diesler <[email protected]>
Date: 2015-10-16T10:02:24Z
[CAMEL-9227] No type converter available to convert from Bean to List
----
> No type converter available to convert from Bean to List
> --------------------------------------------------------
>
> Key: CAMEL-9227
> URL: https://issues.apache.org/jira/browse/CAMEL-9227
> Project: Camel
> Issue Type: Bug
> Components: camel-dozer
> Affects Versions: 2.16.1
> Reporter: Thomas Diesler
> Fix For: 2.16.1
>
>
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)