Glimpse导致Web窗体站点上的StackOverFlowException

时间:2013-11-06 13:29:22

标签: asp.net webforms glimpse

我为我的Web窗体站点安装了Glimpse 1.7.0,但是当我打开它时,Web窗体站点遇到StackOverflowException。堆栈跟踪如下:

[Managed to Native Transition]  
mscorlib.dll!System.Globalization.CompareInfo.IndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options)  Unknown
mscorlib.dll!string.IndexOf(string value, int startIndex, int count, System.StringComparison comparisonType)    Unknown
mscorlib.dll!string.Contains(string value)  Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessData(System.Type rootType, string type, object data)    Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessData(System.Type rootType, string type, object data)    Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessData(System.Type rootType, string type, object data)    Unknown

...切掉一些重复的行...

    Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessData(System.Type rootType, string type, object data)    Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessData(System.Type rootType, string type, object data)    Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.ProcessRecord(Glimpse.WebForms.Tab.ControlTreeItemTrackModel item, object viewstate, System.Collections.Generic.Dictionary<string,System.Type> controlTypes)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Support.ViewStateFormatter.Process(Glimpse.WebForms.Tab.ControlTreeItemTrackModel root)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Tab.ControlTree.ProcessData(System.Data.DataTable dataTable, Glimpse.Core.Extensibility.ILogger logger)   Unknown
Glimpse.WebForms.dll!Glimpse.WebForms.Tab.ControlTree.GetData(Glimpse.Core.Extensibility.ITabContext context)   Unknown
Glimpse.Core.dll!Glimpse.Core.Framework.GlimpseRuntime.ExecuteTabs(Glimpse.Core.Extensibility.RuntimeEvent runtimeEvent)    Unknown
Glimpse.Core.dll!Glimpse.Core.Framework.GlimpseRuntime.EndRequest() Unknown
Glimpse.AspNet.dll!Glimpse.AspNet.HttpModule.EndRequest(System.Web.HttpContextBase httpContext) Unknown
Glimpse.AspNet.dll!Glimpse.AspNet.HttpModule.Init.AnonymousMethod__5(object context, System.EventArgs e)    Unknown
System.Web.dll!System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() Line 4055  C#
System.Web.dll!System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication.IExecutionStep step, ref bool completedSynchronously) Line 1029    C#
System.Web.dll!System.Web.HttpApplication.PipelineStepManager.ResumeSteps(System.Exception error) Line 3785 C#
System.Web.dll!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext context, System.AsyncCallback cb) Line 847 C#
System.Web.dll!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest wr, System.Web.HttpContext context) Line 2448  C#
System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Line 465    C#
System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Line 387  C#
[Native to Managed Transition]  
[Managed to Native Transition]  
System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Line 499    C#
System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr rootedObjectsPointer, System.IntPtr nativeRequestContext, System.IntPtr moduleData, int flags) Line 387  C#
[AppDomain Transition]  

有没有办法解决这个错误?

1 个答案:

答案 0 :(得分:1)

我们已经修复了known issue,但尚未发布。

您可以同时使用具有更新代码的our latest WebForms NuGet package,但请注意版本号尚未更改,仅在包发布时才会执行,但至少应该解决您的问题问题