When using a 2022R1 Regression Line in 2022R2, I am getting an error when attempting to use the Horizontal Regression tool in the Curvature Diagram.
The curvature diagram shows up just fine (with the previous horizontal regressed elements). However, as soon as I select the Horizontal Regression tool and click on the Regression Line in the Curvature Diagram, it throws the "Object Reference not set to an Instance of an Object" error.
Any help is appreciated.
It looks like a similar issue was previously reported:
Object Reference not set to an instance of an object Exception
It it possible the file is corrupt. I would suggest submitting a service request to have the files reviewed:
https://apps.bentley.com/srmanager/
I can't reproduce on a simple test case. You may try to delete XML file: