Fixed a NPE about null data in StoredData.