Hex numbers in NullReferenceException error message


G

Guest

My app is reportedly throwing an exception with the following error message:

A managed NullReferenceException occurred at Application ::Run+Oxf
Application::Run+Oxf
delcollectForm::Main+Oxa

I am unable to replicate this problem.

Simple question: what do the hex numbers refer to? are they line numbers? &
if so do they refer to my C# source or to IL code, or what?
Any advice or links gratefully received!

Ian
 
Ad

Advertisements

L

Larry Lard

Ian said:
My app is reportedly throwing an exception with the following error message:

A managed NullReferenceException occurred at Application ::Run+Oxf
Application::Run+Oxf
delcollectForm::Main+Oxa

I am unable to replicate this problem.

Simple question: what do the hex numbers refer to? are they line numbers? &
if so do they refer to my C# source or to IL code, or what?
Any advice or links gratefully received!
I think they are byte offsets within the IL. You can use ildasm to see
the IL your code becomes, and I think there is a way to show the
original C' and the IL side by side, but I can't think of it right now.
 
Ad

Advertisements

G

Guest

Larry Lard said:
I think they are byte offsets within the IL. You can use ildasm to see
the IL your code becomes, and I think there is a way to show the
original C' and the IL side by side, but I can't think of it right now.

--
Larry Lard
(e-mail address removed)
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Thanks, Larry. After a little experimentation with ildasm, it seems certain
that the 'Main+Oxa' refers to :
....
IL_000a: ret
} // end of method delCollectForm::Main

which is indeed the end of the Main method.

cheers,
Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top