Big Decimal Error in TFileInputDelimited

Highlighted
One Star

Big Decimal Error in TFileInputDelimited

Dear i try to laod a txt file with bigdecimal value like "-11368683772161603e-29".
I receive an error like this The constructor BigDecimal(BigDecimal) is undefined.
I try to load as string and convert to BigDecimal but same error.
regards
Marc
Six Stars

Re: Big Decimal Error in TFileInputDelimited

Which version of talend are you using?
Check your code and see whether the big decimal class is imported. Check for Code : "import java.math.BigDecimal;"
Seventeen Stars

Re: Big Decimal Error in TFileInputDelimited

hi,
as the error said :
constructor BigDecimal(BigDecimal) is undefined.

you cannot a new BigDecimal 'object' with a bigDecimal as parameter ...
you already has a bigDecimal in entry.
regards
laurent
Seventeen Stars

Re: Big Decimal Error in TFileInputDelimited

Where do you try to convert to a BigDecimal. It looks like the tFileInputDelimited component did that already for you.