mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Null Reference Exception when Profiling with Linq-to-sql #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
well, i tried to reproduce the problems in small demo project but i was unable 
to do so. Some queries work fine with profiling whereas others encounter null 
reference exception in MiniProfiler.cs at line 198 where i m finding Head 
property to be null. i m using the code for linq profile provided at project 
home on google code.

What version of the product are you using? On what operating system?
i have downloaded it using Nuget package and version that it shows me is 
2.1.4183.14740.

regards

Original issue reported on code.google.com by zahidmad...@gmail.com on 21 Jun 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Please have a look at following questions i asked on stackoverflow
http://stackoverflow.com/questions/6410756/using-different-overload-of-dataconte
xt-in-linq-to-sql

http://stackoverflow.com/questions/6422213/help-configure-mvc-mini-profiler-with
-linq-to-sql

Original comment by zahidmad...@gmail.com on 21 Jun 2011 at 9:55

GoogleCodeExporter commented 8 years ago
fixed in latest 

Original comment by sam.saff...@gmail.com on 19 Jul 2011 at 4:26

GoogleCodeExporter commented 8 years ago
thanks sam

Original comment by zahidmad...@gmail.com on 19 Jul 2011 at 4:29

GoogleCodeExporter commented 8 years ago
Sam,
I have used the latest version of MiniProfiler. But it is still throwing the 
same null reference exception. Do you mind to let me know which revision 
contains your fix for this?

Original comment by andrew.a...@gmail.com on 18 Aug 2011 at 2:01