Prevent a crash while dumping internal data content.

Change-Id: I0938b955b460d8c91607e6df0b9d9e1a4a971013