Talend most known error : java.lang.NullPointerException

Talend most known error : java.lang.NullPointerException

You might have this error in any component using java functions

Exception in component tMap_1

java.lang.NullPointerException

 

To resolve this you need to find first which expression is causing this issue then add a condition of non-null

for example of expression generating this issue :

GoodData2.Name.equals(“Canada”) ?   GoodData2.Name   : “”

 

To resolve this :

 

GoodData2.Name.equals(“Canada”) ?   GoodData2.Name   : “”

 

 

 

Post Tagged with

One Responseso far.

  1. kennynx says:

    I am having this error java.lang.NullPointerException when I tried this
    expression Customer input. Name.to.UpperCase ()

Leave a Reply