Summary
At times when performing certain functions in the FlexNet Manager Platform (FNMP) console you may experience a DevExpress error with a system exception of "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
Symptoms
This error can appear when performing certain activities in the MMC, in this example the error occurred when processing POs in the linked licenses node:
---Problem---
(s0m0): Due to an unspecified error, FlexNet Manager Platform was unable to complete this operation. Please click More... for more information. If this problem persists, please contact our support team with all the detailed information provided in this dialog.
---System exception---
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
---Source---
mscorlib
---Stack trace---
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowCellsInfo(RowInfo ri, ArrayList viewInfoList)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowInfo(RowInfo ri, ArrayList viewInfoList)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowGroupInfo(TreeListNodes nodes, CalcRowGroupInfoArgs rowArgs)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.BriefCalcRowsInfo()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowsInfo()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewInfo()
at DevExpress.XtraTreeList.TreeList.UpdateLayout()
at DevExpress.XtraTreeList.TreeList.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at DevExpress.XtraTreeList.TreeList.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Cause
This error occurs due to DevExpress limitations and would require a change to the DevExpress code.
Resolution
Upgrading to FlexNet Manager Suite 2014 R2 and later resolves the issue as the MMC architecture has now been superseded by the Web Interface.