TEIID-2946 fix for npe