Entity and/or state have not been properly set.