can you describe the circumstances around when this happened?
I can see how to stop it erroring, but the mods GUI will be in a very odd state at that point.
It looks like the mod tried to update the GUI with the distances, the GUI had existed, but no longer exists. I don't believe any base game process would ever cause this so wonder if another mod you are running deleted my GUI ?