nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02637
[Bug 939596] Re: Exceptions while starting NUnit Gui
Stack of the "C++-Exception" (later)
Perhaps this is the Problem here:
nunit.uikit.dll!NUnit.UiKit.TestSuiteTreeView.RestoreVisualState
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.Assembly.Load(System.Reflection.AssemblyName assemblyRef) + 0x1f Bytes
System.Xml.dll!System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(System.Type type, string defaultNamespace, out System.Xml.Serialization.XmlSerializerImplementation contract) + 0xd3 Bytes
System.Xml.dll!System.Xml.Serialization.XmlSerializer.XmlSerializer(System.Type type, string defaultNamespace) + 0x138 Bytes
System.Xml.dll!System.Xml.Serialization.XmlSerializer.XmlSerializer(System.Type type) + 0x7 Bytes
nunit.uikit.dll!NUnit.UiKit.VisualState.LoadFrom(System.IO.TextReader reader) + 0x59 Bytes
nunit.uikit.dll!NUnit.UiKit.VisualState.LoadFrom(string fileName) + 0x69 Bytes
nunit.uikit.dll!NUnit.UiKit.TestSuiteTreeView.RestoreVisualState() + 0x90 Bytes
nunit.uikit.dll!NUnit.UiKit.TestSuiteTreeView.Load(NUnit.Core.TestNode test) + 0x131 Bytes
nunit.uikit.dll!NUnit.UiKit.TestSuiteTreeView.OnTestLoaded(object sender, NUnit.Util.TestEventArgs e) + 0x6c Bytes
[Übergang von Systemeigen zu Verwaltet]
nunit.uikit.dll!NUnit.UiKit.GuiTestEventDispatcher.InvokeHandler(System.MulticastDelegate handlerList, System.EventArgs e) + 0x160 Bytes
nunit.uikit.dll!NUnit.UiKit.GuiTestEventDispatcher.Fire(NUnit.Util.TestEventHandler handler, NUnit.Util.TestEventArgs e) + 0x44 Bytes
nunit.util.dll!NUnit.Util.TestEventDispatcher.FireTestLoaded(string fileName, NUnit.Core.ITest test) + 0x56 Bytes
nunit.util.dll!NUnit.Util.TestLoader.LoadTest(string testName) + 0x3f8 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