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
If you are seeing this crash even when opening a blank dgn from seed, no matter the workspace, then something likely didn't install properly. I first recommend trying to refresh your preferences. See this wiki: (+) ORD Preferences Location - OpenRoads | OpenSite Wiki - OpenRoads | OpenSite - Bentley Communities. If that doesn't work, perform a clean uninstall: (+) Uninstall Process for OpenRoads Designer - OpenRoads | OpenSite Wiki - OpenRoads | OpenSite - Bentley Communities. If it is specific to the dgn or a set of dgns then the issue is not with the installation but something inside of the dgn. In that case, I recommend filing a service request so we can investigate the dgn further.
For more information about the Road and Site design tools, visit the Road and Site design WIKI at: http://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki
This is happening to all our users since upgrading t0 2021 R2. Reinstalls dont look to resolve it.
Regards,
Mark
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023.1 | ProjectWise CE 3.4
Looks like all versions of ORD share the following directory path for the prefs location "C:\Users\username\AppData\Local\Bentley\OpenRoadsDesigner\10.0.0 and will append an underscore and number combo to the 10.0.0 directory. So you will have multiple prefs directories to check and clear. Maybe clear them all and reopen the product.
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.
Odd... this seems to be happening to many of you, but it has never happened to me with OpenRoads Designer 2021 R2. We are using a custom configuration as well, but we are NOT using ProjectWise.