You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2015/10/15 12:14:05 UTC
[jira] [Commented] (CAMEL-9227) No type converter available to
convert from Bean to List
[ https://issues.apache.org/jira/browse/CAMEL-9227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958666#comment-14958666 ]
Thomas Diesler commented on CAMEL-9227:
---------------------------------------
To reproduce run
{code}
/Users/tdiesler/git/wildfly-camel/itests/standalone/basic
[tdiesler@macbook basic]$ mvn clean install -Dtest=CSVIntegrationTest
{code}
on branch [2.16.x|https://github.com/wildfly-extras/wildfly-camel/tree/2.16.x]
> 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)