You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Scott Kurz (JIRA)" <ji...@apache.org> on 2015/01/08 18:36:34 UTC
[jira] [Commented] (BATCHEE-53) JSefa Flr/CsvField converterType
won't get picked up
[ https://issues.apache.org/jira/browse/BATCHEE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14269721#comment-14269721 ]
Scott Kurz commented on BATCHEE-53:
-----------------------------------
Noting that I was failing on Windows too and this patch seemed to make the problem go away.
Before I'd hit:
Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.616 sec <<< F AILURE! - in TestSuite
testWrite(org.apache.batchee.jsefa.JSefaCsvWriterConverterTest) Time elapsed: 0 .044 sec <<< FAILURE!
java.lang.AssertionError: expected [string1;100000;2;200102061331
string2;200000;2;200203071432
string3;300000;2;200304081533
string4;400000;1;200405091634
string5;500000;1;200506101735
] but found [string1;100000;2;200102061331
> JSefa Flr/CsvField converterType won't get picked up
> ----------------------------------------------------
>
> Key: BATCHEE-53
> URL: https://issues.apache.org/jira/browse/BATCHEE-53
> Project: BatchEE
> Issue Type: Bug
> Components: batchee-extensions
> Affects Versions: 0.3-incubating
> Reporter: Reinhard Sandtner
> Priority: Minor
> Fix For: 0.3-incubating
>
> Attachments: BATCHEE-53-win.patch, BATCHEE-53.patch
>
>
> if you declare a converter in {{@CsvField(converterType = MyConverter.class}} you got the following exception
> {code}
> CHWERWIEGEND: Failure in Read-Process-Write Loop
> org.apache.batchee.container.exception.BatchContainerServiceException: Exception while opening step [step1]
> ...
> Caused by: org.jsefa.common.converter.ConversionException: No static create method found for class class org.apache.batchee.jsefa.converter.RecordEnumConverter
> at org.jsefa.common.converter.provider.SimpleTypeConverterProvider.getForConverterType(SimpleTypeConverterProvider.java:143)
> ... 31 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)