Did you check that `getTimestamp` returns null rather than throwing? I thought it threw.