Someone hit an IndexOutOfRangeException in GraphChromatogram.DisplayPeptides.
The line number (1706) is the very beginning of the function, so we have to guess where the actual problem is.
Is it possible that sumInfo.Times is a zero length array and the exception happens on this line
float startRetentionTime = Math.Max(bestPeakInfo.StartRetentionTime, sumInfo.Times[0]);
?
-----------------------------------
From
https://skyline.gs.washington.edu/labkey/announcements/home/issues/exceptions/thread.view?rowId=8840
User email address: chetty@email.chop.edu
User comments:
clicking to minimize a protein in the tree on the left.
Skyline version: 2.5.0.5675
Installation ID: 8f7dabdb-a70b-4c18-ad31-7033c5ac2aa7
Exception type: System.IndexOutOfRangeException
Error message: Index was outside the bounds of the array.
Stack trace:
at pwiz.Skyline.Controls.Graphs.GraphChromatogram.DisplayPeptides(IRegressionFunction timeRegressionFunction, ChromatogramSet chromatograms, Single mzMatchTolerance, Int32 countLabelTypes, IList`1 peptideDocNodes, Double& bestStartTime, Double& bestEndTime, Double& leftPeakWidth, Double& rightPeakWidth) in C:\proj\skyline_2_5\pwiz_tools\Skyline\Controls\Graphs\GraphChromatogram.cs:line 1706
at pwiz.Skyline.Controls.Graphs.GraphChromatogram.UpdateUINoReenter(Boolean selectionChanged, Boolean forceZoom) in C:\proj\skyline_2_5\pwiz_tools\Skyline\Controls\Graphs\GraphChromatogram.cs:line 772
at pwiz.Skyline.Controls.Graphs.GraphChromatogram.UpdateUI(Boolean selectionChanged, Boolean forceZoom) in C:\proj\skyline_2_5\pwiz_tools\Skyline\Controls\Graphs\GraphChromatogram.cs:line 599
at pwiz.Skyline.Controls.Graphs.GraphChromatogram.UpdateUI(Boolean selectionChanged) in C:\proj\skyline_2_5\pwiz_tools\Skyline\Controls\Graphs\GraphChromatogram.cs:line 587
at pwiz.Skyline.SkylineWindow.UpdateGraphPanes(Object sender, EventArgs e) in C:\proj\skyline_2_5\pwiz_tools\Skyline\SkylineGraphs.cs:line 591
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)