[Mono-devel-list] mod_mono, xsp and apache 2.0

Norbert Phillipps norbert at nysia.org
Tue Mar 16 10:23:07 EST 2004


Hi all,

I have two machines currently running Gentoo Linux.  I compiled mono-0.30.1,
mod_mono-0.7 and xsp-0.9.  Both compiles ran perfectly.  Both compiles were
done w/ gcc 3.3.3, and glibc compiled with NPTL.

On one machine (althon xp 2500) it works perfectly, the other machine (dual
p4 2.4) I get the following error when using either mod_mono, or the xsp
server:


System.NullReferenceException: A null value was found where an object
instance was required

Server stack trace:
in <0x00061> System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest)
in <0x0000a> Mono.ASPNET.MonoWorkerRequest:ProcessRequest ()
in <0x00089> Mono.ASPNET.Worker:ProcessRequest ()
in <0x00044> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void
()
in <0x00028> System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in (unmanaged) /usr/lib/libmono.so.0 [0x40059b43]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x35) [0x4009d855]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x142)
[0x4009e902]
in (unmanaged) /usr/lib/libmono.so.0 [0x400a511e]
in <0x00187> System.Runtime.Remoting.RemotingServices:InternalExecuteMessage
(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMess
age)


Exception rethrown at [0]:

in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x1f) [0x400a006f]
in (unmanaged) /usr/lib/libmono.so.0 [0x400b3c4c]
in <0x00044> (wrapper remoting-invoke) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
in <0x00032> (wrapper remoting-invoke-with-check)
System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in <0x00174> Mono.ASPNET.Worker:Run (object)

and the webpage displays:

Stack Trace: 
System.NullReferenceException: A null value was found where an object
instance was required
in <0x000c8> System.Web.HttpRuntime:OnFirstRequestStart
(System.Web.HttpContext)
in <0x000e4> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)

any help with these error messages would be great.

Thanks,
Norbert




More information about the Mono-devel-list mailing list