Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
sushantk19
Creator
Creator

java.lang.NullPointerException error while running my job

Hello,

 

I keep getting the below error when i run my jobs in Talend. how do i know where and which row is causing this issue? I know it is related to some NULL value that I am getting out of my lookup but still I want to know exactly which row or condition is failing? Is there a way i can debug these issues faster? I am new to talend.

 

Exception in component tMap_1 (job_DM_000_Order_Fact)
java.lang.NullPointerException

Labels (2)
1 Reply
manodwhb
Champion II
Champion II

@sushantk19 , you need to handle null first and then write expressions and please find the below is example something like this.

 

row1.col1.equals("TA")?"Thadae":"Vadea"

 

rewrite this way

 

("TA").equals(row1.col1)?"Thadae":"Vadea"