catching nullpointerexceptions if hibernate cannot incarnate attributes