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
Note: Do this null verification before doing any operations on column. This will prevent your job from NullPointerException