Click here to Skip to main content
15,887,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Null exception occurs in my application and the exception is handled. The application does not terminate. But only in very few pcs, the application crashes. When i checked, eventhough the exception is caught,the application crashes.
What could be the reason for this occuring only in few pcs?
The OS being used is Windows7

[edit]Spurious bold removed - OriginalGriff[/edit]

Nothing I have done in catch. it is empty.
catch (Exception excep)
{
}
Posted
Updated 19-Nov-12 20:34pm
v3
Comments
pradiprenushe 20-Nov-12 2:26am    
Paste your code from catch block.
Programm3r 20-Nov-12 3:11am    
Hi, please provide some sample code ... in the meantime you could hook into the following event: AppDomain.UnhandledException Event (Occurs when an exception is not caught) - http://msdn.microsoft.com/en-us/library/system.appdomain.unhandledexception.aspx

It allows the application to log information about the exception before the system default handler reports the exception to the user and terminates the application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900