[IOT-1324] Fix crash issue which call getPlatformInfo with QoS.