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
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