Re: [Mono-list] NullRefException compiling with mcs

2004-01-30 Thread Stuart Ballard
Miguel de Icaza wrote: I see where the program is crashing, but am still going to need you to put prints around that area, so we understand what is happening and what is going wrong. Can you suggest some things that I should print that will help me to determine what types are being compiled that r

Re: [Mono-list] NullRefException compiling with mcs

2004-01-30 Thread David Sheldon
On Thu, Jan 29, 2004 at 02:23:47PM -0500, Stuart Ballard wrote: > Is this a known bug in mono --debug's reporting of line numbers? Yes, it always reports the line number of the next statement. http://bugs.ximian.com/show_bug.cgi?id=45730 David -- If a 6600 used paper tape instead of core memor

Re: [Mono-list] NullRefException compiling with mcs

2004-01-29 Thread Miguel de Icaza
Hello, > Okay, I found it in the latest CVS source code. > > The problem happens in approximately line 760 of interface.cs[1]. The > variable "builder" is null at that point. > > This means precisely nothing to me, but hopefully it will help you to > help me :) I see where the program is cras

Re: [Mono-list] NullRefException compiling with mcs

2004-01-29 Thread Gustavo Ramos
Hi there, > > > It is hard to tell from the stack trace that you provided, and that > > > version of the compiler is fairly old, we have fixed roughly a hundred > > > bugs since that release. > > > > > > It would be useful if you could try with a new compiler, or isolate a > > > sample test case.

Re: [Mono-list] NullRefException compiling with mcs

2004-01-29 Thread Stuart Ballard
Miguel de Icaza wrote: Please run with --debug and once you get the line numbers, look at the errors around those lines, and add some WriteLines to identify what variable is null. Okay, I found it in the latest CVS source code. The problem happens in approximately line 760 of interface.cs[1]. The

Re: [Mono-list] NullRefException compiling with mcs

2004-01-28 Thread Miguel de Icaza
Hello, > > It is hard to tell from the stack trace that you provided, and that > > version of the compiler is fairly old, we have fixed roughly a hundred > > bugs since that release. > > > > It would be useful if you could try with a new compiler, or isolate a > > sample test case. > > The 20040

Re: [Mono-list] NullRefException compiling with mcs

2004-01-28 Thread Stuart Ballard
Miguel de Icaza wrote: It is hard to tell from the stack trace that you provided, and that version of the compiler is fairly old, we have fixed roughly a hundred bugs since that release. It would be useful if you could try with a new compiler, or isolate a sample test case. The 20040111 snapshot ha

Re: [Mono-list] NullRefException compiling with mcs

2004-01-27 Thread Miguel de Icaza
Hello, > I'm getting the following exception when trying to compile a (fairly > large) set of files using mcs. I'm using 0.28 because that's the last > stable Debian package, and I can't upgrade to the -cvs versions because > they conflict with the libapache-mod-mono package. > > Is this a kno

[Mono-list] NullRefException compiling with mcs

2004-01-27 Thread Stuart Ballard
I'm getting the following exception when trying to compile a (fairly large) set of files using mcs. I'm using 0.28 because that's the last stable Debian package, and I can't upgrade to the -cvs versions because they conflict with the libapache-mod-mono package. Is this a known bug that's been f