OpenRoads exception on closing

Hello,

On closing OpenRoads Designer and OpenRail Designer, I receive the dialog box asking me to Abort, Retry, or Ignore and that an exception log has been filed.

Exception caught in source file e:\builds\cif10102104\Source\Cif\src\managed\ui\tools\PrimitiveCommand\PrimitiveCommand.cs at method OnModelMotionInternal

================================================================================
Exception : The instance is not persisted.

In Assembly : Bentley.CifNET.Objects.4.0

Stack Trace :
   at Bentley.CifNET.Objects.Engine.Instance.GetECInstanceFromProvider()
   at Bentley.CifNET.Objects.Engine.Instance.AddInstanceAsDeletedAndPerformCascadeDelete(InternalChangeSet changeSet, Boolean rootIsExplicitlyDeleted)
   at Bentley.CifNET.Objects.Engine.Instance.BuildChangeSet(InternalChangeSet changeSet, PersistDepth persistDepth)
   at Bentley.CifNET.Objects.Engine.ObjectSpace.PersistChanges(ObjectKeyInternal ecKey, PersistDepth persistDepth)
   at Bentley.CifNET.Objects.Engine.ObjectSpace.PersistChanges(Object obj, PersistDepth persistDepth)
   at Bentley.CifNET.Objects.Engine.ObjectSpace.Bentley.CifNET.Objects.IObjectTracker.PersistChanges(Object obj)
   at Bentley.CifNET.GeometryModel.Tool.GeometryCommand.ObjectSpaceHolder.PersistChanges(Object obj)
   at Bentley.CifNET.GeometryModel.SnapRules.PointEntryCreator.RemoveSnapRuleAndSetCoordinates(DPoint3d pointCoordinates, IObjectTracker objectTracker, PointEntity2d pointEntity)
   at Bentley.CifNET.GeometryModel.SnapRules.PointEntryCreator.SetPointSnapInternal(DPoint3d pointCoordinates, SnapDescriptor snapDescriptor, IObjectTracker objectTracker, PointEntity2d pointEntity, Boolean checkCircularDependency, Boolean addSnapRule)
   at Bentley.CifNET.GeometryModel.SnapRules.DistanceAlongEntryCreator.SetDistanceAlongEntry(GeometricModel targetModel, LinearEntity baseElement, DPoint3d coordinates, SnapDescriptor snapDiscriptor, IObjectTracker objectSpace, LinearEntity targetEntity, DistanceAlongEntry distanceAlongEntry)
   at Bentley.CifNET.GeometryModel.Tool.GeometryCommand.DistanceAlongEntryDescriptor.Calculate(DPoint3d coordinates, SnapDescriptor snapDiscriptor, IObjectSpace objectSpace)
   at Bentley.CifNET.GeometryModel.Tool.GeometryCommand.DistanceAlongEntryState.DoGetCursorValue(IButtonEvent buttonEvent, Double currentValue, Boolean valueLocked)
   at Bentley.CifNET.UI.Tools.ParameterEntryState`2.InternalPrimitiveParameterState.GetCursorValue(IButtonEvent buttonEvent, Object currentValue, Boolean valueLocked)
   at Bentley.CifNET.UI.Tools.CursorPrompt.CustomParameterDialogDefinition.OnModelMotion(IButtonEvent buttonEvent)
   at Bentley.CifNET.UI.Tools.CursorPrompt.ParameterPromptManager.Bentley.CifNET.UI.Tools.ICommandParameterPrompter.OnDynamics(IButtonEvent buttonEvent)
   at Bentley.CifNET.UI.Tools.ParameterState.OnModelMotion(IButtonEvent buttonEvent)
   at Bentley.CifNET.UI.Tools.PrimitiveCommand.<>c__DisplayClass99_0.<OnModelMotionInternal>b__0()
   at Bentley.CifNET.UI.Tools.PrimitiveCommand.ManagedBooleanCallBack(Func`1 method, Boolean exitCommandAndCleanupCaches, Boolean retValue, String message, String memberName, String sourceFilePath, Int32 sourceLineNumber)

I checked Task Manager and the process OpenRoadsDesigner.exe never closes even if I select Abort in the dialog box.  This happens no matter what file I choose to open.  No customization has been done.  I have done the typical restart machine, reinstall with Admin privileges, etc.

Any help is appreciated.

Windows 10

OpenRoads Designer 10.10.21.004

Parents Reply Children
  • As an update, I followed the uninstall instructions which included the removal of the Bentley Temp directories under the user folder.  This resolved the crash when opening files from the delivered installed workspace examples.  Once I implemented our custom configuration the crash came back so I removed our custom configuration and the crash did not happen.  As a side note, this only started to happen when implementing 2021 R2.

    Now to start digging thru the configurations developed in house and received from Client.  Fun.....

    I will report back my findings.