当我启用glimpse时,每当我在MVC3站点中导航到带有任何参数的页面时,我都会收到这个错误:-
NullReferenceException:对象引用未设置为对象的实例。Glimpse.Mvc.AlternateType.GetBinder.PostImplementation(IAlternateMethodContext context,Glimpse.Core.Extensibility.AlternateMethod.NewImplementation(IAlternateMethodContext上下文) +146 Glimpse.Core.Extensibility.AlternateTypeToCastleInterceptorAdapter.Intercept(IInvocation context) +73 TimerResult timerResult) +165
有人知道我怎么解决这个问题吗?
似乎任何带有参数的url都会导致该错误。
我有异步页面:
本地主机:52603/图表/索引
它不会出错,直到它重定向到需要如下参数的页面:-
localhost:52603/chart/displaymodel?modelid=5b881fc7-c789-4d24-a52f-b34a56c098e1 localhost:52603/MakeImage/DisplayMakeImage?makeId=456ab51c-a4bb-4e2a-a673-de38de4ec28d
我在站点中使用了几种不同的技术:- EF4/ SignalR/ MEF/ Redis/ Tropo/ Log4net/ Elmah
谢谢
发布于 2013-02-27 19:27:35
这里也有同样的问题,我认为是Glimpse 1.0中的一个bug。
我刚刚恢复到0.87,它对我来说工作得很好。
发布于 2013-03-01 23:54:40
这已被确认为Glimpse 1.0.0中的错误。
你可以通过track the issue report on GitHub来了解这个bug的最新进展。
很抱歉给您带来不便!
编辑:此错误现在已修复,并且是available in Glimpse 1.0.1
https://stackoverflow.com/questions/15086614
复制相似问题