Null pointer exception in tmap

You might have faced a common error in Talend i.e. the NullPointerException in tMap

"Exception in component tMap_1
java.lang.NullPointerException"


Solutions:
1) Make sure your columns are nullable when you define the schema.
2) The NullPointerException indicate there are some null value on lookup table, so you need to deal with the null value on corresponding columns on expression filed of tmap, for example:


!Relational.ISNULL(row13.abc)?
row13.xyz:row13.sss:null

Comments

Post a Comment

Popular posts from this blog

Increase Java Memory For Pentaho Data Integration

Different Match Models in tMap with example

Simple Transformation from a csv to Excel Output