Skyline version: 21.2.1.514-e25314200 (64-bit) Installation ID: 111a0bc8-282e-4378-92d1-c55e262e2183 Exception type: ArgumentOutOfRangeException Error message: Specified argument was out of the range of valid values. Parameter name: aaIndex -------------------- System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: aaIndex at pwiz.Skyline.Model.Crosslinking.CrosslinkSite..ctor(Int32 peptideIndex, Int32 aaIndex) in C:\proj\pwiz\pwiz_tools\Skyline\Model\Crosslinking\CrosslinkSite.cs:line 44 at pwiz.Skyline.Model.Lib.CrosslinkLibraryKey.Crosslink.<>c__DisplayClass18_0.b__1(Int32 aaPosition) in C:\proj\pwiz\pwiz_tools\Skyline\Model\Lib\LibraryKey.cs:line 674 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.d__17`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at pwiz.Skyline.Model.AbstractModificationMatcher.MakeCrosslinkStructure(String mainSequence, CrosslinkLibraryKey crosslinkLibraryKey) in C:\proj\pwiz\pwiz_tools\Skyline\Model\AbstractModificationMatcher.cs:line 713 at pwiz.Skyline.Model.AbstractModificationMatcher.CreateCrosslinkDocNode(Peptide peptide, CrosslinkLibraryKey crosslinkLibraryKey, SrmSettingsDiff diff, TransitionGroupDocNode& nodeGroupMatched) in C:\proj\pwiz\pwiz_tools\Skyline\Model\AbstractModificationMatcher.cs:line 668 at pwiz.Skyline.Model.AbstractModificationMatcher.CreateDocNodeFromSettings(Target target, Peptide peptide, SrmSettingsDiff diff, TransitionGroupDocNode& nodeGroupMatched) in C:\proj\pwiz\pwiz_tools\Skyline\Model\AbstractModificationMatcher.cs:line 650 at pwiz.Skyline.Model.ModificationMatcher.MoveNextSequence() in C:\proj\pwiz\pwiz_tools\Skyline\Model\ModificationMatcher.cs:line 78 at pwiz.Skyline.Model.AbstractModificationMatcher.InitMatcherSettings(SrmSettings settings, MappedList`2 defSetStatic, MappedList`2 defSetHeavy) in C:\proj\pwiz\pwiz_tools\Skyline\Model\AbstractModificationMatcher.cs:line 81 at pwiz.Skyline.Model.ModificationMatcher.CreateMatches(SrmSettings settings, IEnumerable`1 sequences, MappedList`2 defSetStatic, MappedList`2 defSetHeavy, IProgressMonitor progressMonitor, IProgressStatus status) in C:\proj\pwiz\pwiz_tools\Skyline\Model\ModificationMatcher.cs:line 61 at pwiz.Skyline.EditUI.PasteDlg.AddPeptides(SrmDocument document, Boolean validating, IdentityPath& selectedPath) in C:\proj\pwiz\pwiz_tools\Skyline\EditUI\PasteDlg.cs:line 278 at pwiz.Skyline.EditUI.PasteDlg.GetNewDocument(SrmDocument document, Boolean validating, IdentityPath& selectedPath, List`1& newPeptideGroups) in C:\proj\pwiz\pwiz_tools\Skyline\EditUI\PasteDlg.cs:line 230 at pwiz.Skyline.EditUI.PasteDlg.ValidateCells() in C:\proj\pwiz\pwiz_tools\Skyline\EditUI\PasteDlg.cs:line 205 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) Exception caught at: at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t) at System.Windows.Forms.Control.WndProcException(Exception e) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at pwiz.Skyline.Menus.EditMenu.ShowPastePeptidesDlg() in C:\proj\pwiz\pwiz_tools\Skyline\Menus\EditMenu.cs:line 1114 at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at pwiz.Skyline.Program.Main(String[] args) in C:\proj\pwiz\pwiz_tools\Skyline\Program.cs:line 309