[Mono-list] NullRefException compiling with mcs
   
    Miguel de Icaza
     
    miguel@ximian.com
       
    Tue, 27 Jan 2004 17:46:56 -0500
    
    
  
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 known bug that's been fixed since? Is there anything I can do 
> in my code to avoid it? Or should I expend some effort to track down 
> exactly which file causes it to happen? (I probably can't send my source 
> code to the list, but I can send it to someone in private email if it 
> will help)
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.