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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
INESBK
Creator
Creator

java.lang.NullPointerException in TMap (value = 0 )

Hi, 

I get the error java.lang.NullPointerException because I have a field that contains 0 value(i think). However, I want to get this value so I don't want to filter the value=0. 

 

So to catch the error I added the component tLogRow like the screenshot below.

The type of field quality is Integer.

tLogRow print 1546 row with quality=0 after that the job is crashing.

0683p000009Lsni.png 

 


0683p000009Lt0V.png

 

So I can't understand the cause of this problems and How can I resolve them? 

 Please help me! 

 

 

Best regards.

Labels (2)
3 Replies
Anonymous
Not applicable

Check if your attributes aren't null. For example, for attribute value: row1.value!=null

TRF
Champion II
Champion II

Hi,
0 is not null and it's not because you a 0 into a field that you have a java.lang.NullPointerException.
Carefully check for other fields which can be null and participate into expression into your tMap.
Strings are good candidates to generate this kind of error.
INESBK
Creator
Creator
Author

Hi,

 

Thanks for your replay.

 

 

I've checked all the fields but still have the same problem.