TaskAttributeFactory turn more Exceptions into INVALID tasks

There have been cases where the a plugin has been throwing NPEs,
catch those and consider the tasks using them INVALID instead of just
not adding any tasks.

Change-Id: Ic8aab523c3aff6fa7be259855785b7b7fb528e22
1 file changed