I'm with Manoj here. I would imagine that the line with null characters is not supposed to be there, so the issue is best fixed in the source system. If for whatever reason that's not possible, you could remove it with a simple regex operation in a pre- or post-processing script, adapter module or java mapping.
Nidhi,
If these characters are being added in source file itself then why not fix this in source system only?
Br,
Manoj
Add comment