Hi all,
I'm getting a "Object reference not set to an instance of an object" error with the following at the top of the stack in the logs (C# ASP.NET application):
@Web.UI.UserBrochurePage.Page_Load(Object,EventArgs)+25 Line: 0
@System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr,Object,Object,EventArgs)+0 Line: 0
@System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object,EventArgs)+26 Line: 0
@System.Web.UI.Control.OnLoad(EventArgs)+38 Line: 0
@System.Web.UI.Control.LoadRecursive()+35 Line: 0
@System.Web.UI.Page.ProcessRequestMain(Boolean,Boolean)+1160 Line: 0
The things I don't understand:
- Every error is on line zero
- The most interesting error (top one - in my code) has a "+25" after it. I never understood what those meant, although I assumed they were character offsets on the line... if that were the case, it wouldn't point to anything meaningful (the middle of a parameter declaration).
This is a production system in release mode, but I still can usually get line numbers out of the stack trace objects. In this case, unfortunately, the error does not reproduce on our debug systems, so I'm stuck doing my best with this.
Any advice would be appreciated.
Thanks, Tom