Merge "Revert "removed the exception handling to skip the frame which data size is 0""