Fatal error: gp_Dir() - input vector has zero norm

Salome 9.9 shows an error as seen in the headline when opening the window “2D Sketch Construction”. This error does not occur if you start with a new case and there are not yet objects in the object browser and a 2D Sketch is created for the first time. However, if there is already an object in the object browser and you create a new 2D Sketch an error occurs. If you close the window of this error, it reappears as soon as you move the mouse out of the area of the window “2D Sketch Construction”. Also note that this error doesn’t occur even if an object in the object browser is selected before opening the window “2D Sketch Construction”.