[Lima-commits] 01/06: improve code (limit scope of try - catch block) + add comment for NPE