[Mono-list] Mono/xps/asp.net compilation error

Jeremiah McElroy jeremiah@facility9.com
Tue, 29 Apr 2003 17:03:05 -0400


I searched the list and couldn't find this, so I hope I'm not repeating
anyone or in the wrong place.

I'm running Mandrake 9.1 with Apache 2.0.44 (from RPM-MDK), mono-0.23 =
and
xsp-0.3.  Mono and XSP are built from source.  GCC is 3.2.2 (from =
RPM-MDK).
I have also built gc6.1 from source.

When I attempt to access http://localhost/mono/index.aspx I receive an =
error
stating that compilation cannot be completed.  The error message I saw
follows:

=3D=3D=3D=3D=3D=3D=3D=3D=3D

Server Error in '/mono' Application
Compilation Error
Description: Error compiling a resource required to service this =
request.
Review your source file and modify it to fix this error.

Error message:

Source File: /tmp/tmp4fcbdf82.cs

Line 1: namespace ASP {
Line 2:         using System;
Line 3:         using System.Collections;
Line 4:         using System.Collections.Specialized;
Line 5:         using System.Configuration;
Line 6:         using System.IO;
Line 7:         using System.Text;
Line 8:         using System.Text.RegularExpressions;
Line 9:         using System.Web;
Line 10:        using System.Web.Caching;
Line 11:        using System.Web.Security;
Line 12:        using System.Web.SessionState;
Line 13:        using System.Web.UI;
Line 14:        using System.Web.UI.WebControls;
Line 15:        using System.Web.UI.HtmlControls;
Line 16:
Line 17:        public class global_asax : System.Web.HttpApplication {
Line 18:                private static int __autoHandlers;
Line 19:                private static bool __intialized =3D false;
Line 20:
Line 21:                public global_asax ()
Line 22:                {
Line 23:                        if (ASP.global_asax.__intialized =3D=3D =
false){
Line 24:                                ASP.global_asax.__intialized =3D =
true;
Line 25:                        }
Line 26:                }
Line 27:
Line 28:                private void __BuildControlTree
(System.Web.UI.Control __ctrl)
Line 29:                {
Line 30:                        System.Web.UI.IParserAccessor __parser =
=3D
(System.Web.UI.IParserAccessor) __ctrl;
Line 31:
Line 32:                }
Line 33:
Line 34:        }
Line 35: }

=3D=3D=3D=3D=3D=3D=3D=3D

I attempted to refresh the page and I saw this in the apache error_log


=3D=3D=3D=3D=3D=3D=3D=3D
Unhandled Exception: System.NullReferenceException: A null value was =
found
where an object instance was required in (unmanaged) /lib/i686/libc.so.6
[0x403d5f80] in (unmanaged) /lib/i686/libc.so.6(__libc_free+0x7c)
[0x403d4dfc] in (unmanaged)
/usr/lib/libapr-0.so.0(apr_allocator_destroy+0x3d) [0x402a543d] in
(unmanaged) /usr/lib/libapr-0.so.0(apr_pool_destroy+0x87) [0x402a5937] =
in
(unmanaged) httpd2 [0x8064717] in (unmanaged) httpd2 [0x8064982] in
(unmanaged) /lib/i686/libpthread.so.0 [0x4031c5ce] in (unmanaged)
/lib/i686/libc.so.6 [0x4038a3b8] in (unmanaged) =
/lib/i686/libpthread.so.0
[0x40316079] in (unmanaged) /usr/local/lib/libmono.so.0 [0x405d70ab] in
(unmanaged) /usr/local/lib/libmono.so.0 [0x405df3f4] in (unmanaged)
/usr/local/lib/libmono.so.0 [0x405aba83] in <0x00052> 00
System.Threading.WaitHandle:WaitOne (int,bool) in <0x00205> 00 =
.Runner:Start
() in <0x0005b> 01 System.MulticastDelegate:invoke_void ()


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

[Tue Apr 29 00:20:32 2003] [warn] child process 5906 still did not exit,
sending a SIGTERM [Tue Apr 29 00:20:32 2003] [warn] child process 5906 =
still
did not exit, sending a SIGTERM [Tue Apr 29 00:20:33 2003] [warn] child
process 5906 still did not exit, sending a SIGTERM [Tue Apr 29 14:10:34
2003] [notice] suEXEC mechanism enabled (wrapper: =
/usr/sbin/apache2-suexec)
[Tue Apr 29 14:10:34 2003] [notice] Digest: generating secret for digest
authentication ... [Tue Apr 29 14:10:34 2003] [notice] Digest: done [Tue =
Apr
29 14:10:35 2003] [notice] Apache-AdvancedExtranetServer/2.0.44 =
(Mandrake
Linux/11mdk) mod_perl/1.99_08 Perl/v5.8.0 mod_mono/0.3 mod_ssl/2.0.44
OpenSSL/0.9.7a PHP/4.3.1 configured -- resuming normal operations

Unhandled Exception: System.NullReferenceException: A null value was =
found
where an object instance was required in <0x00177> 00 .Runner:Start () =
in
<0x0005b> 01 System.MulticastDelegate:invoke_void ()


Unhandled Exception: System.NullReferenceException: A null value was =
found
where an object instance was required in <0x00177> 00 .Runner:Start () =
in
<0x0005b> 01 System.MulticastDelegate:invoke_void ()


Unhandled Exception: System.NullReferenceException: A null value was =
found
where an object instance was required in <0x00177> 00 .Runner:Start () =
in
<0x0005b> 01 System.MulticastDelegate:invoke_void ()


Unhandled Exception: System.Runtime.Remoting.RemotingException: No =
receiver
for uri /849970ab_4566_4832_9099_0f092d668900/968360222_9

Server stack trace:=20


Exception rethrown at [0]:=20

in <0x000bc> 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messag=
ing
.IMessage,System.Exception&,object[]&)
in (unmanaged) 07 =
Apache.Web.ApacheApplicationHost:internalProcessRequest
(intptr) in <0x00004> 07
Apache.Web.ApacheApplicationHost:internalProcessRequest (intptr) in
<0x00017> 00 Apache.Web.ApacheApplicationHost:ProcessRequest (intptr)


Unhandled Exception: System.NullReferenceException: A null value was =
found
where an object instance was required in <0x00177> 00 .Runner:Start () =
in
<0x0005b> 01 System.MulticastDelegate:invoke_void ()


Unhandled Exception: System.Runtime.Remoting.RemotingException: No =
receiver
for uri /890dcf77_e62b_46f5_9293_e42d58fa7c00/968545887_9

Server stack trace:=20


Exception rethrown at [0]:=20

=3D=3D=3D=3D=3D=3D=3D=3D


If anyone has any input I would greatly appreciate it.

Jeremiah McElroy
www.designboxmedia.com