Merge "Prevent NPE when init device profile" into sc-v2-dev