[Mono-list] Bug in AppDomain.CreateDomain

Paolo Molaro lupus@ximian.com
Fri, 14 Mar 2003 17:08:09 +0100


On 03/14/03 Yury Serdyuk wrote:
> why is not working this simple program :
> 
> using System;
> public class A {
> public static void Main( string[] args ) {
>  AppDomain d1 = AppDomain.CreateDomain( "MyDomain1" );
>  Console.WriteLine ( "Domain1 is created" );
>  AppDomain d2 = AppDomain.CreateDomain( "MyDomain2" );
>  Console.WriteLine ( "Domain2 is created" );
> }
> }
> We have "Unhandled Exception: System.NullReferenceException ..."
> for the second call of CreateDomain.
> We are working with Mono 0.23 under RedHat 7.3.

There is already a bug report about it:
	http://bugzilla.ximian.com/show_bug.cgi?id=39380
Gonzalo and Lluis were working on a fix, AFAIR.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better