[Pkg-mono-devel] XSP exception

Tomasz Rybak bogomips@post.pl
Thu, 19 Aug 2004 23:48:24 +0200


W li¶cie z wto, 17-08-2004, godz. 12:50, John Parnefjord pisze: 
> Hi!
> 
> I've installed Mono-XSP on my Debian testing 
Does it mean that you are using testing release (Sarge), 
or just your laptop is for testing? 
In Sarge Mono is in very old version.

> laptop but it doesn't work 
> as expected. I've run an earlier version previously without any fuzz, 
> but now it just dies after requesting an application.
> 
<cut>

> nirvana:/etc/xsp# xsp --port 8080 --appconfigfile debian.webapp 
> --address 127.0.0.1
> Adding applications from config file 'debian.webapp'
> Registering application:
>      Host:          any
>      Port:          any
>      Virtual path:  /monodoc
>      Physical path: /usr/share/dotnet/monodoc/web
> Listening on port: 8080
> Listening on address: 127.0.0.1
> Root directory: /etc/xsp
> Hit Return to stop the server.
> 
> Unhandled Exception: System.NullReferenceException: Object reference not 
> set to an instance of an object
> 
> 
> 
> Has anyone a clue or experienced the same?

I had similar experiences. It's due to building Mono 
--with-ntpl=yes, which causes problems on kernels 2.4 
on i368. The same problem is with MonoDevelop.


> The Mono Framework works like a charm. I've installed the XSP package from:
> 
> deb http://pkg-mono.alioth.debian.org/current ./
> deb-src http://pkg-mono.alioth.debian.org/current ./
> 
You should use packages from unstable. The latest Mono 
(1.0.1) is in unstable branch.

> nirvana:/etc/xsp# xsp --version
> xsp.exe 0.15.0.0
> (c) 2002,2003 Ximian, Inc.
> (c) 2003,2004 Novell, Inc.
> Minimalistic web server for testing System.Web

$ xsp --version
xsp.exe 1.0.0.0
(c) 2002,2003 Ximian, Inc.
(c) 2003,2004 Novell, Inc.
Minimalistic web server for testing System.Web


-- 
Tomasz Rybak <bogomips@post.pl>