When i call on the shape of slide the following, I got nullreference exception without any readable details:
var slide = presentation.Slides[0]; // or Slides[1] nvm
var shape = slide.Shapes[0];
var textFrame = shape.GetTextFrame();
var rects = textFrame.Paragraphs.Select(x => x.GetRect());
presentation to reproduce:
corrupted_rect.zip (42.3 KB)