Fix bug: Runtime.cpp protobuf object parseFromString may result in an incomplete protobuf object.