[Mono-list] XSP broken?

Piers Haken piersh@friskit.com
Thu, 14 Aug 2003 14:47:04 -0700


Ok, I updated and built everything from CVS, and now I'm getting the
following when XSP starts up:


Unhandled Exception: System.ArgumentException: Key duplication when
adding: System.LocalDataStoreSlot

Server stack trace:=20
in [0x0014f] (at
/home/server/mono/mcs/class/corlib/System.Collections/Hashtable.cs:625)
00 System.Collections.Hashtable:PutImpl (object,object,bool)
in [0x00004] (at
/home/server/mono/mcs/class/corlib/System.Collections/Hashtable.cs:333)
00 System.Collections.Hashtable:Add (object,object)
in [0x0001c] (at
/home/server/mono/mcs/class/corlib/System.Threading/Thread.cs:182) 00
System.Threading.Thread:SetData (System.LocalDataStoreSlot,object)
in [0x0000d] (at
/home/server/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/Cal
lContext.cs:78) 00
System.Runtime.Remoting.Messaging.CallContext:ResetCurrentCallContext ()
in [0x00089] (at
/home/server/mono/mcs/class/corlib/System.Runtime.Remoting.Channels/Chan
nelServices.cs:205) 00
System.Runtime.Remoting.Channels.ChannelServices:SyncDispatchMessage
(System.Runtime.Remoting.Messaging.IMessage)
in [0x00020] (at
/home/server/mono/mcs/class/corlib/System/AppDomain.cs:719) 00
System.AppDomain:ProcessMessageInDomain
(byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,S
ystem.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
in <0x000a3> 08 System.AppDomain:ProcessMessageInDomain
(byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,S
ystem.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
in <0x000ee> 00
System.Runtime.Remoting.Channels.CrossAppDomainSink:SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage)


Exception rethrown at [0]:=20

in [0x0002b] (at
/home/server/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealP
roxy.cs:98) 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messa
ging.IMessage,System.Exception&,object[]&)
in (unmanaged) 07 System.AppDomain:SetData (string,object)
in <0x00004> 07 System.AppDomain:SetData (string,object)
in <0x00043> 08 System.AppDomain:SetData (string,object)
in [0x00111] (at
/home/server/mono/mcs/class/System.Web/System.Web.Hosting/ApplicationHos
t.cs:64) 00 System.Web.Hosting.ApplicationHost:CreateApplicationHost
(System.Type,string,string)
in [0x001ff] (at /home/server/mono/xsp/server/server.cs:138) 00
Mono.ASPNET.Server:Main (string[])


Piers.

> -----Original Message-----
> From: Gonzalo Paniagua Javier [mailto:gonzalo@ximian.com]=20
> Sent: Thursday, August 14, 2003 1:54 PM
> To: mono-list@lists.ximian.com
> Subject: RE: [Mono-list] XSP broken?
>=20
>=20
> El jue, 14-08-2003 a las 18:07, Piers Haken escribi=F3:
> > I think the problem is that the XmlTextWriter is closing the=20
> > HttpWriter.
> >=20
> > I believe that HttpWriter.Close() should not cause the underlying=20
> > stream to be closed.
>=20
> Hi Piers!
>=20
> Can you try this with current CVS? It works for me now.
>=20
> -Gonzalo
>=20
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com=20
> http://lists.ximian.com/mailman/listinfo/mono-> list
>=20