null pointer when making md5 or creating seqrecord