If the method SetSubset(...) of the filter ToFDistanceImageToPointSetFilter is called before the image was set, the filter crashes. I assume that NULL-check for the image would solve this bug.
See line 72 of file mitkToFDistanceImageToPointSetFilter.cpp.