null pointer fix if the resource is missing.
Merge remote-tracking branch 'origin/develop' into develop