[rubbos] (bug-fix:minor) Added safety check for null values of 'trace'