cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter Error

Former Member
0 Kudos

Hi

I am trying to load CSV file using FILE ADAPTER my fine strructure is :

BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#

BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#

BB,502,Kennington Tube Station,Braganza Street,,,,SE17,,#

AdminUnitDetails.fieldseparator ,

AdminUnitDetails.fieldNames a,b,c,d,e,f,g,h,i,j

AdminUnitDetails.endSeparator 'nl'

AdminUnitDetails.missingLastFields ignore

error i am getting is

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'AdminUnitDetails.fieldFixedLengths' or 'AdminUnitDetails.fieldSeparator' is missing Consistency check: no. of arguments in 'AdminUnitDetails.fieldFixedLength' does not match 'AdminUnitDetails.fieldNames' (0 <> 10)

Can some one help me

Babu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> AdminUnitDetails.fieldseparator ,

I guess this is typo error in field separator.

AdminUnitDetails.fieldSeparator ,

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Babu,

exactly this problem with field separator. correct it..

Thanks

Sivaram

Former Member
0 Kudos

Hi Babu,

Is there any fixed length for any Element in your Structure, If it there, Then we need add one more parameter called FieldFixedLength in the File conversion.

Thanks,

Sateesh

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Babu,

>

>

> Is there any fixed length for any Element in your Structure, If it there, Then we need add one more parameter called FieldFixedLength in the File conversion.

>

> Thanks,

> Sateesh

why would you want a fixed field in this use case?

the example shows clearly a comma separated file .

please correct the parameter to fieldSeparator