Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
BNP
Contributor
Contributor

tmap null pointer exception

Hi All,

 

I'm new to Talend tool.

 

I' getting an error message in tmap component. I have given expression row1.DEPARTMENT_ID==100 && row1.SALARY >=16000, input file is Excel. Departmen_ID and Salary have data in both columns only one row does not have any data in Department_ID. I'm getting an error message like null exception. I have attached the screenshots. Kindly help me this out thanks in advance

 

 

Regards,

Bhaskar.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Change your filter expression to
row1.DEPARTMENT_ID!=null&&row1.DEPARTMENT_ID==100 && row1.SALARY >=16000
Will solve the NPE issue.


View solution in original post

2 Replies
Anonymous
Not applicable

Change your filter expression to
row1.DEPARTMENT_ID!=null&&row1.DEPARTMENT_ID==100 && row1.SALARY >=16000
Will solve the NPE issue.


BNP
Contributor
Contributor
Author

Hi Shong,

 

Thank for given solution. Now it working exactly.

 

Regards,

Bhaskar