curiouswebster
asked on
A first chance exception of type 'System.NullReferenceException' occurred in DMS.exe
Hi,
I just noticed this exception error:
A first chance exception of type 'System.NullReferenceExcep tion' occurred in DMS.exe
but do not know what it means.
Any ideas?
thaks,
newbieweb
I just noticed this exception error:
A first chance exception of type 'System.NullReferenceExcep
but do not know what it means.
Any ideas?
thaks,
newbieweb
It means something tried to work with an object that had not been created. Is that your program?
Jim
Jim
ASKER
DMS.exe is my program. What object are you talking about?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wow! I never knew I could break on all exceptions! That alone will save me.
Thanks,
newbieweb
Thanks,
newbieweb
That's a great feature. I turn it on for every project and never turn it off.
Jim
Jim
Did you find the problem?
ASKER
I won't be compiling to the AM. I'm running a process now through the night.
I'll let you know...
newbieweb
I'll let you know...
newbieweb
ASKER
I'm trying this but can't find the feature.
I see two checkboxes:
Thrown, User-Handles
for each of C++ Exceptions
CLR Exceptions
Managed Debugging Assistants
Native Run-Time Checks
Win32 Exceptions
and inside of each there are many items, a few of which have "Thrown" checked
Should I go ahead and check everything as Thrown?
I see two checkboxes:
Thrown, User-Handles
for each of C++ Exceptions
CLR Exceptions
Managed Debugging Assistants
Native Run-Time Checks
Win32 Exceptions
and inside of each there are many items, a few of which have "Thrown" checked
Should I go ahead and check everything as Thrown?
Correct.
ASKER
here is the rest of what I saw in the Debug window.
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'K:\DMS\bin\Debug\DMS.vsho
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
The thread 0x121c has exited with code 0 (0x0).
The thread 0x1510 has exited with code 0 (0x0).
The thread 0x1424 has exited with code 0 (0x0).
'DMS.vshost.exe' (Managed): Loaded 'K:\DMS\bin\Debug\DMS.exe'
'DMS.vshost.exe' (Managed): Loaded 'K:\DMS\bin\Debug\AxIntero
The thread 0x1208 has exited with code 0 (0x0).
'DMS.vshost.exe' (Managed): Loaded 'K:\DMS\bin\Debug\Interop.
'DMS.vshost.exe' (Managed): Loaded 'K:\DMS\bin\Debug\PizzaPil
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_M
A first chance exception of type 'System.NullReferenceExcep
A first chance exception of type 'System.NullReferenceExcep
A first chance exception of type 'System.NullReferenceExcep
A first chance exception of type 'System.NullReferenceExcep
A first chance exception of type 'System.NullReferenceExcep
A first chance exception of type 'System.NullReferenceExcep
The thread 0x220 has exited with code 0 (0x0).
'DMS.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_3