[Mono-list] Bug in mod-mono 2.4

Jonathan Gagnon jonathan.gagnon at croesus.com
Tue Apr 21 12:07:45 EDT 2009


Hi,

 

There is a bug in mod-mono 2.4 that produces the following exception every
time I try to access the web page :

 

Object reference not set to an instance of an object

 

   Description: HTTP 500. Error processing request.

 

   Stack Trace:

 

System.NullReferenceException: Object reference not set to an instance of an
object

  at System.Web.Compilation.BuildManager.GetPrecompiledType (System.String
virtualPath) [0x00000]

  at System.Web.Compilation.BuildManager.GetPrecompiledApplicationType ()
[0x00000]

  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
context) [0x00000]

 

 

This bug is new to the 2.4 version and it is fixed in trunk, but the fix has
not been merged to the mono-2-4 branch.  I was wondering if it would be
merged and if there would eventually be a 2.4.1 version with this fix.

 

Just to make sure that you know what fix I am talking about, it was made by
Marek Habersack on 2009-04-06 in the
/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs file.  He added
a check to make sure the variable wasn't null before using it.

 

Thanks,

 

Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090421/cff2d13f/attachment.html 


More information about the Mono-list mailing list