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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
hgromek
Contributor
Contributor

tFilterRow advanced mode- java.lang.NullPointerException for a field that't not filtered

Hi!

I am hoping you all can help! I am trying to do a simple tfilter, however I can't get the basic filter to run correctly. 

 

I am filtering on a Ord Memo field = DOT. however I get this error when any of the other fields are null? 

row2.OrdMemo.equals("DOT")

 

Error only null field is a field that's not being filtered. 

Exception in component tFilterRow_1
java.lang.NullPointerException

 

this happens only in advance mode- basic mode will filter this fine. however I need to make a more advance filter than just this. 

 

Please tell me where I am messing up, I have spent hours on this trying to figure it out. 

 

 

I have uploaded the Debug screen. 

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

The easier, replace row2.OrdMemo.equals("DOT") by "DOT". equals(row2.OrdMemo)

View solution in original post

1 Reply
TRF
Champion II
Champion II

The easier, replace row2.OrdMemo.equals("DOT") by "DOT". equals(row2.OrdMemo)