ISSUE: When launching a design file using OBM (10.10.00.85) from Project Wise using TXDOT workspace we are getting a .NET Framework error shown as below. Details of the error also listed below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Bentley.ObmNET.Utilities.PWUtil.CheckOutAndGetLocalPath(String pwPath, Boolean isReadOnly) at Bentley.ObmNET.Utilities.DefaultFiles.GetFileNameFromConfigVariable(String configVariable, String defaultFilename) at Bentley.ObmNET.Model.BridgeInventory.BridgeInventoryUtil.LoadBridgeInventoryIdsFromFile(String configVariable, BridgeInventoryData& bridgeInventoryData, String defaultFilename) at Bentley.ObmNET.Model.BridgeInventory.BridgeInventoryUtil.Initalize() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Bentley.MstnPlatformNET.AddIn.Load(String[] commandTail, IntPtr mdlDesc)
RESOLUTION: When you see "Bentley.ObmNET.Utilities.PWUtil.CheckOutAndGetLocalPath" and "BridgeInventory" in the error log as the one shown above, the likely cause is that below two variables are not getting resolved correctly. One or both are pointing to a path that is not correct.