Hello All, Export one or all nozzles in nozzle manager, no problem. If import one nozzle, no problem, if import more than one nozzle, it will report the following error message: System.InvalidOperationException: Failed to compare two elements in the array. ---> Bentley.ECObjects.ECObjectsException+NullValue: The Property 'NUMBER' is null in ECInstance {NOZZLE(1)} at Bentley.ECObjects.Instance.ECStringValue.get_StringValue() at Bentley.Equipment.NozzleManager.NozzleNumberComparer.Compare(IECInstance x, IECInstance y) at System.Collections.Generic.ArraySortHelper`1.SwapIfGreaterWithItems(T[] keys, IComparer`1 comparer, Int32 a, Int32 b) at System.Collections.Generic.ArraySortHelper`1.QuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer) at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) I did check the text string in the ecModel.xml. If multiple nozzles in it, the problem happens; if delete all other nozzles and leave one nozzle only, no problem. So there is no problem in the ecModel.xml. It seems a bug. I'm using OPM 08.11.11.238. Thanks a lot!
↧