Notifications

248 views

Description

A custom script include is throwing an error after London upgrade: "Cannot convert null to an object"

Release or Environment

All release since London

Cause

Error occurs when creating a var with getGlideObject().getQuestion().getLabel() for variable data or having it inside an if statement.

 

Resolution

Add a null check for getGlideObject() or write the variable as v.getGlideObject()+v.getQuestion.getLabel()

 

Article Information

Last Updated:2020-01-20 01:03:52
Published:2020-01-15