EA-33101 - NPE: SharedPsiElementImplUtil.addReferences