Shadow-Layover mask S1-GRDH

I am trying to create a shadow-layover mask for an Sentinel-1 IW GRDH image.
My processing steps have been Radiometric Calibration and then Terrain Correction. In the Terrain Correction operator, I select output bands to include the shadow-layover mask.
I keep getting a “failed to read dimap xml header” after running Terrain Correction and the shadow-layover mask is not produced (but the terrain corrected backscatter is returned).
I have tried to use both Intensity and Sigma0 as source bands.

Any ideas on what causes this error and how to solve the problem?

Thank you for the help!