with nullpointer error, i mean, that the
retrieved pointer (the entity) is null,
so basically you got an empty reference back.
This happens when you did not "insert" an entity (handle)
to the array at the given position, or the entiy was destoyed
meanwhile.
But the engine should complain when trying to manipulate this
empty entity then.