[JBIDE-16854] dont NPE if path pattern is null
JBIDE-16867 - regression on server restart using web poller