If you draw a non-closed PlanarFigure (Line, Path) on an image and select it to calculate image statistics along that line, a runtime-exception is thrown (from CalculationThread).
"31.13 ERROR: Runtime Exception: Masking not possible for non-closed figures"
The calculation of the statistics work, it seems that there is just a check for "non-closed figure" missing.