When the data is null, it should not throw an Exception