dubeaud / bugnet

BugNET is an open source issue tracker built with .NET
189 stars 167 forks source link

Unrecognized Guid format error on Issues/MyIssues #217

Open jlechem opened 8 years ago

jlechem commented 8 years ago

If you navigate to Issues/MyIssues I get the following error:

Server Error in '/BugNET_WAP' Application.

Unrecognized Guid format.

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.FormatException: Unrecognized Guid format.

Source Error:

Line 190: protected string GetTotalMonitoredIssuesCount() Line 191: { Line 192: var user = UserManager.GetUser(new Guid(ViewIssueMemberDropDown.SelectedValue)); Line 193: Line 194: return IssueManager.GetMonitoredIssuesByUserName(user.UserName, false).Count.ToString();

Source File: C:\Users\lecheminant.justin\Downloads\bugnet-master\bugnet-master\src\BugNET_WAP\Issues\MyIssues.aspx.cs Line: 192

Stack Trace:

[FormatException: Unrecognized Guid format.] System.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException) +3799688 System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) +525 System.Guid..ctor(String g) +137 BugNET.Issues.MyIssues.GetTotalMonitoredIssuesCount() in C:\Users\lecheminant.justin\Downloads\bugnet-master\bugnet-master\src\BugNET_WAP\Issues\MyIssues.aspx.cs:192 ASP.issues_myissues_aspx.RenderContent2(HtmlTextWriter w, Control parameterContainer) in c:\Users\lecheminant.justin\Downloads\bugnet-master\bugnet-master\src\BugNET_WAP\Issues\MyIssues.aspx:49 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +263 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +131 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +50 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160 System.Web.UI.Page.Render(HtmlTextWriter writer) +39 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80 System.Web.UI.d__523.MoveNext() +10593