[Mono-list] C#/Mono Serial port communication

Jon-Eirik Pettersen lists@jonepet.net
Thu, 25 Nov 2004 00:25:49 +0100


George Birbilis wrote:
>> Unhandled Exception: System.NullReferenceException: Object reference 
>> not set to an instance of an object
> 
> 
> when catching the exception try also printing out a stack trace for it 
> (see the respective method available at the base Exception class to get 
> the trace, then print it out)
> 
> -----
> George Birbilis (birbilis@kagi.com)
> http://www.kagi.com/birbilis
> --------------
It does not look like it is catching the exception. They just appears in 
the background, resulting that I don't know where they are thrown.