HIVE-8610-trunk: fix NPE