Getting object reference error in my MVP applicationhttp://forums.asp.net/t/1790146.aspx/1?Getting+object+reference+error+in+my+MVP+applicationMon, 09 Apr 2012 21:42:17 -040017901464920382http://forums.asp.net/p/1790146/4920382.aspx/1?Getting+object+reference+error+in+my+MVP+applicationGetting object reference error in my MVP application <p>Hi,</p> <p>I am receiving random object reference error in different modules of my application.The errors m facing is intermittent. I&nbsp;did debug of&nbsp;my code it looks all correct. Moreover, whenever I run&nbsp;into that error and I try again&nbsp;(immediately after I got error)&nbsp;with same steps with same input conditions&nbsp;that error does not come up. This&nbsp;is something which is happening&nbsp;not only&nbsp;in our development regions but&nbsp;also in production regions. I tried to analyze and I got some leads that&nbsp;there might be&nbsp;problem&nbsp;with temporary ASP.net file. But I dont know how that can cause object reference error. Sometimes I see&nbsp;Source error information like App_Web_ighjds[some kind of ID&nbsp;I guess]. I dont know where exactly the problem is?&nbsp;&nbsp;&nbsp;As&nbsp;far as my code is concerned It looks all&nbsp;fine. I believe if there was&nbsp;problem with my&nbsp;code then&nbsp;it should be reproducible every time.&nbsp;Does anybody&nbsp;have any&nbsp;idea why such error&nbsp;might be happening?&nbsp;If it is&nbsp;issue with temporary asp.net files&nbsp;then&nbsp;what I&nbsp;should do to avoid such error?? Any help is much appreciated. Thanks.&nbsp;</p> 2012-04-07T04:24:35-04:004920724http://forums.asp.net/p/1790146/4920724.aspx/1?Re+Getting+object+reference+error+in+my+MVP+applicationRe: Getting object reference error in my MVP application <p>what line? what's the stack trace?</p> 2012-04-07T10:25:08-04:004921112http://forums.asp.net/p/1790146/4921112.aspx/1?Re+Getting+object+reference+error+in+my+MVP+applicationRe: Getting object reference error in my MVP application <p>I don't have stack trace with me right now. But stack trace is not same every time. Like I mentioned before this is happening at different modules of application and it is intermittent.</p> 2012-04-07T20:26:57-04:004923757http://forums.asp.net/p/1790146/4923757.aspx/1?Re+Getting+object+reference+error+in+my+MVP+applicationRe: Getting object reference error in my MVP application <p>There are so many issues that could cause this and without some more information it will be extremely difficult to help. Even if the exception is intermittent, please provide us that information and if possible where the exception occurred. If you did not log the exception, check the Event Log on the machine the application was running on as the information should be in there. It will also include the Stack Trace information to help identify where the problem occurred.</p> 2012-04-09T21:42:17-04:00