$ 0 0 It is possible that your call to GetExifProfile returns null. When that happens you should create a new ExifProfile.