Using armature deformation with a lattice object that doesn't have vertex groups creates an invalid span that crashes during deformation. This was caused by refactoring which replaced raw pointers with spans, but has to check for nullptr to avoid creating an invalid span. Pull Request: https://projects.blender.org/blender/blender/pulls/141538