CLDIDE-1769; fix NPE when factory is unparseable;