Loading...

 


An item with the same key has already been added.

Server Error in '/' Application.

An item with the same key has already been added.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: An item with the same key has already been added.

Source Error:


Line 219:                                    ' Response.Write(jj.Serialize(scorecardobj(i)("catching")))
Line 220:                                    For Each c In scorecardobj(i)("catching")
Line 221:                                        catcherPoints.Add(jj.Serialize(c("catcher")), parsePoints(c))
Line 222:                                    Next
Line 223:                                End If

Source File: C:\www\cricketdata.org\httpdocs\cricket-data-formats\points.aspx    Line: 221

Stack Trace:


[ArgumentException: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +60
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +438
   System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +15
   ASP.cricket_data_formats_points_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in C:\www\cricketdata.org\httpdocs\cricket-data-formats\points.aspx:221
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.cricket_data_formats_formats_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\www\cricketdata.org\httpdocs\cricket-data-formats\Formats.master:172
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0