Hi,
  I'm going to post exactly the same issue.  I also have similar (but
not exact) problem with B1.
 But I cannot reproduce here. It looks like IP2 have done something
special with System.Reflection
  ----- Original Message -----
 From: "Curt Hagenlocher" [EMAIL PROTECTED]
 To: "Discussion of IronPython" users@lists.ironpython.com
 Sent: Sat 03/05/08  7:59 AM
 Subject: Re: [IronPython] Unexpected error in 2.0B2
 The following code works for me under B1, but throws an exception
under B2:   import clr
 import System
 name = System.Reflection.AssemblyName()
 name.Name = 'Test'
 assemblyBuilder =
System.AppDomain.CurrentDomain.DefineDynamicAssembly(name,
System.Reflection.Emit.AssemblyBuilderAccess.Run)
    The stack trace is, of course, entirely inside the CLR.  
Traceback (most recent call last):
   File "", line 1, in 
   File "mscorlib", line unknown, in DefineDynamicAssembly
   File "mscorlib", line unknown, in InternalDefineDynamicAssembly
   File "mscorlib", line unknown, in nCreateDynamicAssembly
   File "mscorlib", line unknown, in CheckGrantSetHelper
 SystemError: Object reference not set to an instance of an object.
-------------------------
Boonthavorn Ceramic Co.,Ltd. Information Technology Department
(Technic Section)
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to