About Talend

Talend Open Studio operates as a code generator allowing data transformation scripts and underlying programs to be generated either in Java (OR) Perl. Its GUI is made of a metadata repository and a graphical designer. The metadata repository contains the definitions and configuration for each job. The information in the metadata repository is used by all of the components of Talend Open Studio.

Course Details : http://talend-training.blogspot.in/2013/04/talend-training-course-details.html

How to Handle Null Pointer Exception In Talend ?

Handle Null Pointer Exception In Talend

If you got a null pointer Exception in any Component you can solve it with simple steps.

  • Identify the columnname in your job.
  • Do the null checking with simple if condition.
    •   row1.columnName==null?defaultvalue:row1.columnName
       specify the required result in defaultvalue to change the data from null to some value

Note: Do this null verification before doing any operations on column. This will prevent your job from NullPointerException 

1 comment:

  1. Handle null pointer is much tough. But your article is very useful as it has explain in detail. Thanks for discussing with us. As I was in need of it.

    ReplyDelete