Issue #3035980 by jhedstrom: Provide a better error when a NULL is passed to EntityStorageBase::load()