在OPPID软件equipment类下新增了属性,新建了Category,但在OPPA中使用Property Display 工具调整属性显示顺序,报错,错误信息如下:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************System.ArgumentNullException: Value cannot be null.Parameter name: classDefinition at Bentley.ECObjects.Schema.ECCustomAttributeContainer.RemoveCustomAttribute(IECClass classDefinition) at Bentley.Plant.ProjectAdministrator.OPPIDPropertyCategorization.SavePropertyDisplayStatus(IECProperty ecProperty) at Bentley.Plant.ProjectAdministrator.PropertyCategorizationControl.SaveData() at Bentley.Plant.ProjectAdministrator.DlgConfigurationManager.SaveAll() at Bentley.Plant.ProjectAdministrator.DlgConfigurationManager.btn_Save_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll----------------------------------------Bentley.Plant.ProjectAdministrator Assembly Version: 1.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.ProjectAdministrator.exe----------------------------------------System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4320.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll----------------------------------------Bentley.Plant.CommonToolsLogging Assembly Version: 0.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.CommonToolsLogging.DLL----------------------------------------Bentley.logging-2.0 Assembly Version: 2.0.0.0 Win32 Version: 09.18.02.53 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/ECFramework/Bentley.logging-2.0.DLL----------------------------------------System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------Bentley.Plant.Core.Utilities Assembly Version: 1.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.Utilities.DLL----------------------------------------Telerik.WinControls.UI Assembly Version: 2017.2.613.40 Win32 Version: 2017.2.613.40 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/Telerik/Telerik.WinControls.UI.DLL----------------------------------------Telerik.WinControls Assembly Version: 2017.2.613.40 Win32 Version: 2017.2.613.40 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/Telerik/Telerik.WinControls.DLL----------------------------------------System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Bentley.logging.log4net-2.0 Assembly Version: 2.0.0.0 Win32 Version: 09.18.02.53 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/ECFramework/Bentley.logging.log4net-2.0.DLL----------------------------------------Bentley.Plant.ProductUtilities Assembly Version: 1.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.ProductUtilities.DLL----------------------------------------Bentley.ECObjects3 Assembly Version: 1.0.0.0 Win32 Version: 09.18.02.55 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/ECFramework/Bentley.ECObjects3.DLL----------------------------------------Bentley.Platform Assembly Version: 1.0.0.0 Win32 Version: 09.18.02.53 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Platform.DLL----------------------------------------bentley.managed.entliclib Assembly Version: 1.0.0.0 Win32 Version: 11.00.06.13 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/bentley.managed.entliclib.DLL----------------------------------------Bentley.Licensing.Client.API Assembly Version: 1.0.0.0 Win32 Version: 11.00.09.07 CodeBase: file:///C:/Program%20Files/Common%20Files/Bentley%20Shared/CONNECTION%20Client/LicService/Bentley.Licensing.Client.API.dll----------------------------------------Bentley.Licensing.ServiceInterface Assembly Version: 1.0.0.0 Win32 Version: 11.00.09.07 CodeBase: file:///C:/Program%20Files/Common%20Files/Bentley%20Shared/CONNECTION%20Client/LicService/Bentley.Licensing.ServiceInterface.DLL----------------------------------------System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll----------------------------------------System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll----------------------------------------SMDiagnostics Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll----------------------------------------System.ServiceModel.Internals Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll----------------------------------------Bentley.Plant.Core.ConnectWidget Assembly Version: 1.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.ConnectWidget.DLL----------------------------------------Bentley.Connect.Client.API Assembly Version: 1.0.0.0 Win32 Version: 10.00.17.10 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Connect.Client.API.DLL----------------------------------------Bentley.Plant.Core.UI Assembly Version: 1.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.UI.DLL----------------------------------------TelerikCommon Assembly Version: 2017.2.613.40 Win32 Version: 2017.2.613.40 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/Telerik/TelerikCommon.DLL----------------------------------------Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Bentley.Plant.Core.ConfigurationManager Assembly Version: 0.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.ConfigurationManager.DLL----------------------------------------Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Telerik.WinControls.Themes.VisualStudio2012Light Assembly Version: 2017.2.613.40 Win32 Version: 2017.2.613.40 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/Telerik/Telerik.WinControls.Themes.VisualStudio2012Light.DLL----------------------------------------Bentley.Connect.Client.Service.Interface Assembly Version: 1.0.0.0 Win32 Version: 10.00.17.10 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Connect.Client.Service.Interface.DLL----------------------------------------Bentley.Plant.WizardCommon Assembly Version: 0.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.WizardCommon.DLL----------------------------------------Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Bentley.Plant.Core.DgnwsManager Assembly Version: 0.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.DgnwsManager.DLL----------------------------------------Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Bentley.Recommendation.API1 Assembly Version: 1.0.0.0 Win32 Version: 10.00.17.10 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Assemblies/Bentley.Recommendation.API1.DLL----------------------------------------Bentley.Exceptions Assembly Version: 1.0.0.0 Win32 Version: 09.18.02.53 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Exceptions.DLL----------------------------------------Bentley.GeometryNET.Common Assembly Version: 1.0.0.0 Win32 Version: 02.18.02.55 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.GeometryNET.Common.DLL----------------------------------------Bentley.GeometryNET.Structs Assembly Version: 1.0.0.0 Win32 Version: 02.18.02.55 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.GeometryNET.Structs.DLL----------------------------------------Bentley.General.1.0 Assembly Version: 1.0.0.0 Win32 Version: 09.18.02.53 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.General.1.0.DLL----------------------------------------System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------Bentley.Plant.Core.PWExtension Assembly Version: 0.0.0.0 Win32 Version: 10.07.00.32 CodeBase: file:///C:/Program%20Files/Bentley/OpenPlant%20CONNECT%20Edition/ProjectAdministrator/Bentley.Plant.Core.PWExtension.DLL----------------------------------------
************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /></configuration>
When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.
您好,
经测试在Metric工作空间可行,涉及到中文文字不显示或无法调整,建议先使用英文调整顺序,后再将DisplayLabel改回中文测试