[Mono-bugs] [Bug 79524][Nor] New - Mono can't run FxCop

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 29 05:37:33 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by maurits.rijk at philips.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79524

--- shadow/79524	2006-09-29 05:37:33.000000000 -0400
+++ shadow/79524.tmp.4936	2006-09-29 05:37:33.000000000 -0400
@@ -0,0 +1,163 @@
+Bug#: 79524
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: maurits.rijk at philips.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono can't run FxCop
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+I tried to run the command line verson of FxCop using Mono 1.1.17.1:
+
+> mono FxCopCmd.exe /file:fxcopui.dll /console
+
+This resulted in a stackdump.
+
+Steps to reproduce the problem:
+1. run fxcop (version 1.35) with above command
+2. 
+3. 
+
+Actual Results:
+
+Microsoft FxCopCmd v1.35.60623.0
+Copyright (C) 1999-2006 Microsoft Corp.  All rights reserved.
+
+An exception was raised attempting to load engine 'c:\program
+files\microsoft fx
+cop 1.35\\Engines\IntrospectionAnalysisEngine.dll'.
+An exception was raised attempting to load engine 'c:\program
+files\microsoft fx
+cop 1.35\\Engines\IntrospectionAnalysisEngine.dll'.
+Exception has been thrown by the target of an invocation.
+Exception has been thrown by the target of an invocation.
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Refle
+ction.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInf
+o culture) [0x00000]
+  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type) [0x00000]
+  at Microsoft.FxCop.Common.EngineManager.LoadEnginesFromDirectory
+(System.Strin
+g directory, Microsoft.FxCop.Common.ExceptionCollection results) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Refle
+ction.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInf
+o culture) [0x00000]
+  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type) [0x00000]
+  at Microsoft.FxCop.Common.EngineManager.LoadEnginesFromDirectory
+(System.Strin
+g directory, Microsoft.FxCop.Common.ExceptionCollection results) [0x00000]
+An exception was raised attempting to load engine 'c:\program
+files\microsoft fx
+cop 1.35\\Engines\IntrospectionAnalysisEngine.dll'.
+An exception was raised attempting to load engine 'c:\program
+files\microsoft fx
+cop 1.35\\Engines\IntrospectionAnalysisEngine.dll'.
+Exception has been thrown by the target of an invocation.
+Exception has been thrown by the target of an invocation.
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Refle
+ction.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInf
+o culture) [0x00000]
+  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type) [0x00000]
+  at Microsoft.FxCop.Common.EngineManager.LoadEnginesFromDirectory
+(System.Strin
+g directory, Microsoft.FxCop.Common.ExceptionCollection results) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000]
+  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Refle
+ction.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInf
+o culture) [0x00000]
+  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
+[0x00
+000]
+  at System.Activator.CreateInstance (System.Type type) [0x00000]
+  at Microsoft.FxCop.Common.EngineManager.LoadEnginesFromDirectory
+(System.Strin
+g directory, Microsoft.FxCop.Common.ExceptionCollection results) [0x00000]
+* Error(s) occurred during FxCop initialization:
+* An exception was raised attempting to load engine 'c:\program files\microsoft
+fxcop 1.35\\Engines\IntrospectionAnalysisEngine.dll'.
+
+Expected Results:
+
+Microsoft FxCopCmd v1.35.60623.0
+Copyright (C) 1999-2006 Microsoft Corp.  All rights reserved.
+
+Loaded DesignRules.dll...
+Loaded GlobalizationRules.dll...
+Loaded InteroperabilityRules.dll...
+Loaded MobilityRules.dll...
+Loaded NamingRules.dll...
+Loaded PerformanceRules.dll...
+Loaded PortabilityRules.dll...
+Loaded SecurityRules.dll...
+Loaded UsageRules.dll...
+Loaded FxCopUI.dll...
+Initializing Introspection engine...
+Analyzing...
+Analysis Complete.
+No messages written.
+Done.
+
+How often does this happen? 
+always
+
+Additional Information:


More information about the mono-bugs mailing list