caught InvalidUrlDefinitionException and wrote warning to log