After switching to openhab 2.3 and re-engineering all my KNX items and things I had some strange behaviors with some rules. Deep diving I found ItemStateEvents that change the state of an item from null to NULL. Working with a lot of hash maps in my rules I have a lot of If statements that filter items states that contains a null (!== null). As I’m not an expert in Java I was wondering if there is a difference between null and NULL and in which use-case I need to check whether a “null” or a “NULL” state of an item.
Root cause for the strange behavior found: I used find+replace function to replace != null to !== null in my rules. I think that operation was not done case sensitive and it was also replaced for the states. Maybe a good learning for others who switch to 2.3