I understand that you don't know what is causing the exception to be thrown.
What I am suggesting is that you should look at the stack trace to find the last method of yours that is invoking the framework
calls, which eventually lead to an exception. The image you provided a link to does not display any of your methods in the call
stack because you did not scroll down far enough before taking the screen shot.
Find the method, set a break point and attach a debugger. When your break point is hit check your variables before the first
framework method in the call stack is invoked. If I am correct, you should find that your code attempts to pass a null object
reference to a framework method, hence the NullReferenceException being thrown. If it is more complicated than that, you'll need to
check the state of your application's variables and your code's relationship to the framework calls being made.
GL
--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Kunkel" <da*******@hotmail.com> wrote in message news:7F**********************************@microsof t.com...
unfortunately i do not know what is causing the exception. what puzzles me
further is that everything is nestled inside of a try/catch, so how could
this exception not be handled?
is there a reference that i can use to help me decifer what the stack trace
is indicating?
Thanks for the reply!
"Dave" wrote:
Your screen shot does not show the complete stack trace. What call in your code is causing the exception-throwing method to be
invoked? I would start there first.
--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Kunkel" <da*******@hotmail.com> wrote in message news:97**********************************@microsof t.com... >i am using VS.NET 2003 and coding in VB.NET.
>
> some of my users recieving an unhandled exception in one of my programs.
> although these exceptions always occur during a certain process, they are
> totally random as to if and when they occur. if have not been able to
> reproduce these errors on my machine nor can anyone else here in the IT dept.
>
> i have try catch blocks around every event, sub, and function involved in
> the process (even in the finally statements). i was hoping someone else had
> an idea.
>
> here is a screen shot...
> <img src="http://img.photobucket.com/albums/v314/SilverSurfer77/ex.jpg"
> alt="Image hosted by Photobucket.com">
>
> or just click here:
> http://img.photobucket.com/albums/v3...urfer77/ex.jpg