[Mono-dev] Bug in the svn vm?

Marek Habersack grendel at caudium.net
Tue May 2 22:20:52 EDT 2006


Hello,

  I've just came accross a problem with the latest svn of mono. Trying to
access a site served by either xsp or xsp2 causes this to happen:

System.NullReferenceException: Object reference not set to an instance of an object
in <0x00134> Mono.WebServer.VPathToHost:CreateHost (Mono.WebServer.ApplicationServer server, IWebSource webSource)
in <0x000ee> Mono.WebServer.ApplicationServer:GetApplicationForPath (System.String vhost, Int32 port, System.String path, Boolean defaultToRoot)
in (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
in <0x00152> Mono.WebServer.XSPWorker:InnerRun (System.Object state)
in <0x00022> Mono.WebServer.XSPWorker:Run (System.Object state)

I've traced it to ApplicationHost.CreateApplicationHost, to the break
statement in the for loop (line 120 of ApplicationHost.cs). Setting the loop
iteration limit to some value and commenting the break statement out makes
xsp/xsp2 work again. I guess it's a runtime vm bug and it's, alas, way
beyond my knowledge to fix :(

best regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060503/e358023e/attachment.bin 


More information about the Mono-devel-list mailing list