null pointer check for getObject in datacontrol and selection plugin

8 jobs for nullptr_hotfix