Upgrade to Madrid Patch 4 if you are seeing a "java.lang.NullPointerException" when updating variable value to null on RITM.
Import
·
Jul 17, 2019
·
article
Issue: In Madrid when assigning the variable to null can cause java.lang.NullPointerException and this can also result in variables not displayed on lists/reports.
Steps to Confirm: Please run the below script in background to confirm whether the issue exists in Madrid or not:
1) Login to your instance as "Admin"2) Run the following background script:var gr = new GlideRecord("sc_req_item"); gr.addQuery("number","");gr.query(); gr.next(); gr.variables. = null;gr.update();
3) Exception is encountered.
View original source
https://www.servicenow.com/community/itsm-blog/upgrade-to-madrid-patch-4-if-you-are-seeing-a-quot-java-lang/ba-p/2293592