Microsoft KB Archive/327416

= BUG: Activator.CreateInstance Causes a Fatal Execution Engine Exception Error Message =

Article ID: 327416

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft .NET Framework 1.0

-



This article was previously published under Q327416



SYMPTOMS
If you try to create an array of reference type objects with the Activator.CreateInstance method, you receive the following error message in the common language runtime:

Fatal Execution Engine Error

If you run the same program from the Visual Studio .NET IDE, you receive the following error message:

An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce the Behavior
Compile and run the following code: using System;

class MainClass {   static public void Main {       Activator.CreateInstance(typeof(Object[]) ); } }

Keywords: kbbug KB327416

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.