Solution
The error might be caused by a corrupted Simple Error Handler VI. You can confirm it by changing the dialog type setting of the Simple Error Handler VI and checking if the error that appears correspond to the selected dialog type option.
To solve this, replace the Simple Error Handler VI with a new one.