BZ 991121: NPE when retrieving non-existent tasks -- and other changes to catch exceptions reasonably
BZ 990490: not able to retrieve specific variable log