Issue 311: IndexOutOfRangeException UniquePrefixGenerator.GetUniquePrefix

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:3
Milestone:2.5
Opened:2014-02-26 15:25 by Nick Shulman
Changed:2014-08-28 11:33 by Brendan MacLean
Resolved:2014-08-28 11:33 by Brendan MacLean
Resolution:Fixed
Closed:2014-08-28 11:33 by Brendan MacLean
2014-02-26 15:25 Nick Shulman
Title»IndexOutOfRangeException UniquePrefixGenerator.GetUniquePrefix
Assigned To»donmarsh@proteinms.net
Type»Defect
Area»Skyline
Priority»3
Milestone»2.5
Someone hit an IndexOutOfRangeException in UniquePrefixGenerator.GetUniquePrefix
I do not know how that is possible, since it looks like String.Substring can only ever throw "ArgumentOutOfRangeException" but maybe I'm missing something.
--------------------------------
https://skyline.gs.washington.edu/labkey/announcements/home/issues/exceptions/thread.view?rowId=8902

Skyline version: 2.5.0.5675 (64-bit)
Installation ID: 4e168719-c21a-4a94-8681-e7a3b368beda
Exception type: System.IndexOutOfRangeException
Error message: Index was outside the bounds of the array.

Stack trace:
   at pwiz.Skyline.Controls.Graphs.UniquePrefixGenerator.GetUniquePrefix(String seq) in C:\proj\skyline_2_5_x64\pwiz_tools\Skyline\Controls\Graphs\UniquePrefixGenerator.cs:line 60
   at pwiz.Skyline.Controls.Graphs.SummaryPeptideGraphPane.GraphData..ctor(SrmDocument document, TransitionGroupDocNode selectedGroup, PeptideGroupDocNode selectedProtein, Nullable`1 iResult, DisplayTypeChrom displayType, IRetentionTimeTransformOp retentionTimeTransformOp, PaneKey paneKey) in C:\proj\skyline_2_5_x64\pwiz_tools\Skyline\Controls\Graphs\SummaryPeptideGraphPane.cs:line 358
   at pwiz.Skyline.Controls.Graphs.AreaPeptideGraphPane.CreateGraphData(SrmDocument document, PeptideGroupDocNode selectedProtein, TransitionGroupDocNode selectedGroup, DisplayTypeChrom displayType) in C:\proj\skyline_2_5_x64\pwiz_tools\Skyline\Controls\Graphs\AreaPeptideGraphPane.cs:line 34

2014-08-28 11:33 Brendan MacLean
resolve as Fixed
Statusopen»resolved
Assigned Todonmarsh@proteinms.net»Nick Shulman

2014-08-28 11:33 Brendan MacLean
close
Statusresolved»closed
Assigned ToNick Shulman»Guest