[Mono-dev] Getting error at Runtime

2006-02-10 Thread Javier Ruiz
I get the following error at runtime from the attached code.   ERROR: Object reference not set to an instance of an object   I still don't understand why if I compile the code using VS 2005 and run the program on windows it works but if I compile with gmcs and run on Linux I get errors. usi

Re: [Mono-dev] Getting error at Runtime

2006-02-10 Thread mike . hull
Javier Ruiz wrote: I get the following error at runtime from the attached code. ERROR: Object reference not set to an instance of an object I still don't understand why if I compile the code using VS 2005 and run the program on windows it works but if I compile with gmcs and run on Linux I

RE: [Mono-dev] Getting error at Runtime

2006-02-11 Thread Javier Ruiz
The error is coming from the SYSTEM.NET.MAIL part of the code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 12:43 AM To: Javier Ruiz Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Getting error at Runtime Javier

Re: [Mono-dev] Getting error at Runtime

2006-02-13 Thread Brian Crowell
Javier Ruiz wrote: The error is coming from the SYSTEM.NET.MAIL part of the code. Have your catch code output the stack trace like this: catch( Exception ex ) { Console.WriteLine( "Error: " + ex.ToString() ); } --Brian ___ Mono-devel-list

RE: [Mono-dev] Getting error at Runtime

2006-02-13 Thread Javier Ruiz
I tried what you said but I still get the same error. -Original Message- From: Brian Crowell [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 9:18 AM To: Javier Ruiz Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Getting error at Runtime Javier Ruiz wrote: >

Re: [Mono-dev] Getting error at Runtime

2006-02-14 Thread Brian Crowell
Javier Ruiz wrote: The error is coming from the SYSTEM.NET.MAIL part of the code. Have your catch code output the stack trace like this: catch( Exception ex ) { Console.WriteLine( "Error: " + ex.ToString() ); } --Brian ___ Mono-devel-list