Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am getting Null pointer exception error in tmap even after handling all the null values in expression below [row2.len1Pd is 'String' and row2.len1 is 'Short']:
(!Relational.ISNULL(row2.len1Pd)||row2.len1Pd !=null||!row2.len1Pd.equals("")) && row2.len1 !=null ?
(row2.len1Pd.equals("LF")?(row2.len1*365.25*80):
(row2.len1Pd.equals("YR")?(row2.len1*365.25):
((row2.len1Pd.equals("MO")||row2.len1Pd.equals("MN"))?(row2.len1*(365.25/12)):
(row2.len1Pd.equals("WK")?(row2.len1*7):
(row2.len1Pd.equals("HR")?(row2.len1/24):
(row2.len1Pd.equals("DA")?(row2.len1):null))))))
:null
I am not sure, what am I missing. Any advice would be appreciated.
Thanks in advance.