← Back to team overview

nunit-core team mailing list archive

[Bug 939596] Re: Exceptions while starting NUnit Gui

 

Version of NUnit is 2.5.10
Commandline-Parameter: MyTestAssembly.dll

Stack-Trace:

 	mscorlib.dll!System.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName fileName, string codeBase, System.Security.Policy.Evidence assemblySecurity, System.Reflection.RuntimeAssembly locationHint, ref System.Threading.StackCrawlMark stackMark, bool throwOnFileNotFound, bool forIntrospection, bool suppressSecurityChecks) + 0x28 Bytes	
 	mscorlib.dll!System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity, ref System.Threading.StackCrawlMark stackMark, bool forIntrospection, bool suppressSecurityChecks) + 0x85 Bytes	
 	mscorlib.dll!System.Reflection.RuntimeAssembly.InternalLoad(string assemblyString, System.Security.Policy.Evidence assemblySecurity, ref System.Threading.StackCrawlMark stackMark, bool forIntrospection) + 0x91 Bytes	
 	mscorlib.dll!System.Activator.CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes, System.Security.Policy.Evidence securityInfo, ref System.Threading.StackCrawlMark stackMark) + 0x2b Bytes	
 	mscorlib.dll!System.Activator.CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes, System.Security.Policy.Evidence securityInfo) + 0x30 Bytes	
 	mscorlib.dll!System.AppDomain.CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes, System.Security.Policy.Evidence securityAttributes) + 0x51 Bytes	
 	mscorlib.dll!System.AppDomain.InternalCreateInstanceWithNoSecurity(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes, System.Security.Policy.Evidence securityAttributes) + 0x5b Bytes	
 	[Anwendungsdomänenübergang]	
 	mscorlib.dll!System.Activator.CreateInstance(System.AppDomain domain, string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes, System.Security.Policy.Evidence securityAttributes) + 0x50 Bytes	
 	nunit.core.dll!NUnit.Core.DomainAgent.CreateInstance(System.AppDomain targetDomain) + 0x8c Bytes	
 	nunit.util.dll!NUnit.Util.TestDomain.Load(NUnit.Core.TestPackage package) + 0x110 Bytes	
 	nunit.util.dll!NUnit.Util.TestLoader.LoadTest(string testName) + 0x1fb Bytes	
 	nunit.uikit.dll!NUnit.UiKit.TestLoaderUI.OpenProject(System.Windows.Forms.Form owner, string testFileName, string configName, string testName) + 0x19b Bytes	
 	nunit-gui-runner.dll!NUnit.Gui.NUnitForm.NUnitForm_Load(object sender, System.EventArgs e) + 0x2b2 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Form.OnLoad(System.EventArgs e) + 0x206 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Form.OnCreateControl() + 0x58 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x18f Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl() + 0x24 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WmShowWindow(ref System.Windows.Forms.Message m) + 0x9f Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x308 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x2a Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Form.WmShowWindow(ref System.Windows.Forms.Message m) + 0x50 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Form.WndProc(ref System.Windows.Forms.Message m) + 0x209 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x13 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x64 Bytes	
 	user32.dll!gapfnScSendMessage()  + 0x270 Bytes	
 	user32.dll!gapfnScSendMessage()  + 0x922 Bytes	
 	user32.dll!GetWindowLongW()  + 0x18a Bytes	
 	user32.dll!GetDC()  + 0xab Bytes	
 	ntdll.dll!KiUserCallbackDispatcher()  + 0x2e Bytes	
 	[Übergang von Verwaltet zu Systemeigen]	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.SetVisibleCore(bool value) + 0x46f Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Form.SetVisibleCore(bool value) + 0x87 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Control.Visible.set(bool value) + 0x14 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context) + 0xdd Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x61 Bytes	
 	System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x31 Bytes	
 	nunit-gui-runner.dll!NUnit.Gui.AppEntry.Main(string[] args) + 0x685 Bytes	
 	nunit-x86.exe!NUnit.Gui.Class1.Main(string[] args) + 0x26 Bytes	
 	mscoreei.dll!_CorExeMain()  + 0x38 Bytes	
 	mscoree.dll!CreateConfigStream()  + 0x13f Bytes	
 	mscoree.dll!_CorExeMain()  + 0x8 Bytes	
 	ntdll.dll!RtlInitializeExceptionChain()  + 0x63 Bytes	
 	ntdll.dll!RtlInitializeExceptionChain()  + 0x36 Bytes

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/939596

Title:
  Exceptions while starting NUnit Gui

Status in NUnit V2 Test Framework:
  New

Bug description:
  We have NUnit-Test which tests functions which call functions in
  native Dlls (via PInvoke). So we have always native and mamanged
  Debugger attached. When starting Gui parameterized with the test-
  assembly, the Debugger reports multiple Exceptions
  (EEFileLoadException, I think they are native C++) while the Gui tries
  to load the tests  (before anyone has done anything in the gui).

  It would be nice if it could be changed that no exception is thrown.
  The debugger always stops (if exceptions catching is put on, which
  must be to find errors in own code).

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/939596/+subscriptions


References