* avoid a NullPointerException when domain is null * catch NullPointerException for new URI operation