TMDM-7812: add try code to prevent from stop generating all last remained views if exception throwed during generating one view.
TMDM-7812: after create item,check if resource is attached sucessfully.