handled the null point expection when content type is null,ESBJAVA-3310