[Mono-list] Bug in AppDomain.CreateDomain

Yury Serdyuk Yury@serdyuk.botik.ru
Fri, 14 Mar 2003 16:59:25 +0300


Hi,

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.

Yury Serdyuk.