[TIMOB-17713] Check if sourceApplication is null
Merge pull request #6110 from pec1985/timob-17713

[TIMOB-17713] Check if sourceApplication is null