Исключение при добавлении StiRibbonDesignerControl
Добавлено: 05 июн 2013, 18:41
создание StiRibbonDesignerControl в рантайме вызывает исключение (2013.2.1607.0):
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at Stimulsoft.Controls.Win.DotNetBar.SubItemsCollection.get_Item(String name) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Controls.Win\SubItemsCollection.cs:line 148
at Stimulsoft.Report.Design.StiRibbonDesignerControl.set_ShowHelp(Boolean value) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 172
at Stimulsoft.Report.Design.StiRibbonDesignerControl..ctor(StiReport report) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 1094
at Stimulsoft.Report.Design.StiRibbonDesignerControl..ctor() in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 1078
at WindowsFormsApplication1.Form1..ctor() in D:\Temp\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs:line 18
at WindowsFormsApplication1.Program.Main() in D:\Temp\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at Stimulsoft.Controls.Win.DotNetBar.SubItemsCollection.get_Item(String name) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Controls.Win\SubItemsCollection.cs:line 148
at Stimulsoft.Report.Design.StiRibbonDesignerControl.set_ShowHelp(Boolean value) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 172
at Stimulsoft.Report.Design.StiRibbonDesignerControl..ctor(StiReport report) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 1094
at Stimulsoft.Report.Design.StiRibbonDesignerControl..ctor() in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiRibbonDesignerControl.cs:line 1078
at WindowsFormsApplication1.Form1..ctor() in D:\Temp\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs:line 18
at WindowsFormsApplication1.Program.Main() in D:\Temp\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()