<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/nunit/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/nunit/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 21 Dec 2011 10:45:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nunit/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Clicking run button causes exception if no test loaded</title><link>https://sourceforge.net/p/nunit/bugs/865/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If you start nunit for example like this:&lt;br /&gt;
nunit.exe /run x:\doesnt_exists&lt;br /&gt;
and then click the "Run" button (which is enabled after the error message that states that the file could not be loaded), an exception is thrown:&lt;/p&gt;
&lt;p&gt;System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.&lt;br /&gt;
bei NUnit.Util.TestLoader.RunTests(ITestFilter filter)&lt;/p&gt;
&lt;p&gt;It seems that the error is in file TestLoader.cs in line 618: Perhaps Services or Services.UserSettings is null. All other calls in RunTests(ITestFilter) don't look suspicious to me to raise that exception or would cause to happen the exception in a different place (like if filter was null - exception would be thrown somewhere in BeginRun or afterwards).&lt;/p&gt;
&lt;p&gt;Full strack trace:&lt;/p&gt;
&lt;p&gt;System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.&lt;br /&gt;
bei NUnit.Util.TestLoader.RunTests(ITestFilter filter)&lt;br /&gt;
bei NUnit.UiKit.TestSuiteTreeView.RunTests(ITest[] tests, Boolean ignoreCategories)&lt;br /&gt;
bei NUnit.UiKit.TestSuiteTreeView.RunSelectedTests()&lt;br /&gt;
bei NUnit.UiKit.TestTree.RunSelectedTests()&lt;br /&gt;
bei NUnit.Gui.NUnitForm.runButton_Click(Object sender, EventArgs e)&lt;br /&gt;
bei System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;
bei System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br /&gt;
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;
bei System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
bei System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
bei System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;
bei System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Kremser</dc:creator><pubDate>Wed, 21 Dec 2011 10:45:21 -0000</pubDate><guid>https://sourceforge.netf65363a5d4e6b162e759ee3dc4fe0dd35d9e1a7c</guid></item><item><title>Tests can't find their app.config</title><link>https://sourceforge.net/p/nunit/bugs/864/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When running multiple assemblies or with /domain=multiple tests fails to load configuration settings. This only happens with 2.5.4.10098. With 2.5.3 and below all is fine. This happens regardless of what .net version the tests are using as runtime.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;.net 4 rtm installed&lt;br /&gt;
winserver 2008 r2&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Öhlund</dc:creator><pubDate>Sat, 17 Apr 2010 16:54:02 -0000</pubDate><guid>https://sourceforge.net1d2e845d1e165cc35dcb042c1e2fcc1ed1103b6b</guid></item><item><title>Registry entries and shortcuts remain after install</title><link>https://sourceforge.net/p/nunit/bugs/863/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Repro:&lt;/p&gt;
&lt;p&gt;1) Install NUnit 2.5.1&lt;br /&gt;
2) Install NUnit 2.5.2&lt;br /&gt;
3) Uninstall NUnit 2.5.1&lt;/p&gt;
&lt;p&gt;Actual behaviour:&lt;/p&gt;
&lt;p&gt;Registry key:&lt;br /&gt;
HKEY_CURRENT_USER\Software\nunit.org\Nunit\2.5.1&lt;br /&gt;
and start menu shortcuts are left behind.&lt;/p&gt;
&lt;p&gt;Expected behaviour:&lt;br /&gt;
Registry entries and shortcuts should be removed.&lt;/p&gt;
&lt;p&gt;I think we need to re-GUID all components for each release. With any luck there's an easy way to do this with recent versions of Wix. In the past this hasn't been fun!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jamie Cansdale</dc:creator><pubDate>Thu, 13 Aug 2009 19:19:19 -0000</pubDate><guid>https://sourceforge.net6e8bfac618c54c4401f1ed226f3f5d7379eb50b3</guid></item><item><title>Tests with legacy ExpectedException attributes always pass</title><link>https://sourceforge.net/p/nunit/bugs/862/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Actual behaviour:&lt;/p&gt;
&lt;p&gt;The following test when compiled against the NUnit 2.4 'nunit.framework' passes when executed with NUnit 2.5:&lt;/p&gt;
&lt;p&gt;[Test, ExpectedException("UnknownException")]&lt;br /&gt;
public void ShouldFail()&lt;br /&gt;
{&lt;br /&gt;
throw new NullReferenceException();&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Expected behaviour:&lt;/p&gt;
&lt;p&gt;Test should fail.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jamie Cansdale</dc:creator><pubDate>Thu, 13 Aug 2009 18:49:13 -0000</pubDate><guid>https://sourceforge.netaf19281c48a9fa448b6c86a00f4f6822942b16a4</guid></item><item><title>TearDown always throw TargetInvocationException</title><link>https://sourceforge.net/p/nunit/bugs/861/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For detail and test cases, see &lt;a href="http://groups.google.com/group/nunit-discuss/browse_thread/thread/68306909a02079df?hl=en" rel="nofollow"&gt;http://groups.google.com/group/nunit-discuss/browse_thread/thread/68306909a02079df?hl=en&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 10 Aug 2009 18:03:08 -0000</pubDate><guid>https://sourceforge.net64aae7ccf5e429b5d4264e70dd4d9a357de27475</guid></item><item><title>SetUp failure reported as FailureSite.Test</title><link>https://sourceforge.net/p/nunit/bugs/860/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;More detail and test case can be found here:&lt;br /&gt;
&lt;a href="http://groups.google.com/group/nunit-discuss/browse_thread/thread/68306909a02079df?hl=en" rel="nofollow"&gt;http://groups.google.com/group/nunit-discuss/browse_thread/thread/68306909a02079df?hl=en&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 10 Aug 2009 18:02:04 -0000</pubDate><guid>https://sourceforge.netb7731a2cb800e3e5561adab3874ba9c8133390d7</guid></item><item><title>Exception when click "Run" button</title><link>https://sourceforge.net/p/nunit/bugs/859/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This was a one-time exception that I cannot reproduce.  After closing NUnit GUI and immediately reopening and clicking "Run" again, it did not get an exception (same version of my test suite DLL both times):&lt;/p&gt;
&lt;p&gt;Conditions when exception occurred:&lt;/p&gt;
&lt;p&gt;1.  Test suite had already been loaded and run and test results were showing in the Text Output tab.&lt;br /&gt;
2.  Made a minor change in my own code.&lt;/p&gt;
&lt;p&gt;When I clicked the "Run" button in the NUnit 2.5.1 GUI, I got the following .NET Exception dialog:&lt;/p&gt;
&lt;p&gt;Title:  "DocMan.NUnit.dll - NUnit"&lt;br /&gt;
(DocMan.NUnit.dll is, of course, my test suite DLL)&lt;/p&gt;
&lt;p&gt;Message:&lt;br /&gt;
----------------&lt;br /&gt;
Unhandled exception has occured in your application... blah blah blah&lt;/p&gt;
&lt;p&gt;Object reference not set to an instance of an object.&lt;br /&gt;
---------------------&lt;/p&gt;
&lt;p&gt;Here are the details:&lt;br /&gt;
--------------------------------------------&lt;br /&gt;
See the end of this message for details on invoking &lt;br /&gt;
just-in-time (JIT) debugging instead of this dialog box.&lt;/p&gt;
&lt;p&gt;************** Exception Text **************&lt;br /&gt;
System.NullReferenceException: Object reference not set to an instance of an object.&lt;br /&gt;
at NUnit.Core.ProxyTestRunner.BeginRun(EventListener listener, ITestFilter filter)&lt;br /&gt;
at NUnit.Util.TestLoader.RunTests(ITestFilter filter)&lt;br /&gt;
at NUnit.UiKit.TestSuiteTreeView.RunTests(ITest[] tests, Boolean ignoreCategories)&lt;br /&gt;
at NUnit.Gui.NUnitForm.runButton_Click(Object sender, EventArgs e)&lt;br /&gt;
at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;
at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;
at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/p&gt;
&lt;p&gt;************** Loaded Assemblies **************&lt;br /&gt;
mscorlib&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)&lt;br /&gt;
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/nunit.exe&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit-gui-runner&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit-gui-runner.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit.core&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit.core.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit.util&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit.util.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit.uikit&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit.uikit.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Windows.Forms&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Drawing&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit.core.interfaces&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit.core.interfaces.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Configuration&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Xml&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Runtime.Remoting&lt;br /&gt;
Assembly Version: 2.0.0.0&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
nunit.uiexception&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.5.1.9189&lt;br /&gt;
CodeBase: file:///C:/Program%20Files%20(x86)/NUnit%202.5.1/bin/net-2.0/lib/nunit.uiexception.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
cdbxblp-&lt;br /&gt;
Assembly Version: 2.5.1.9189&lt;br /&gt;
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br /&gt;
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;/p&gt;
&lt;p&gt;************** JIT Debugging **************&lt;br /&gt;
To enable just-in-time (JIT) debugging, the .config file for this&lt;br /&gt;
application or computer (machine.config) must have the&lt;br /&gt;
jitDebugging value set in the system.windows.forms section.&lt;br /&gt;
The application must also be compiled with debugging&lt;br /&gt;
enabled.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;
&amp;lt;system.windows.forms jitDebugging="true" /&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;/p&gt;
&lt;p&gt;When JIT debugging is enabled, any unhandled exception&lt;br /&gt;
will be sent to the JIT debugger registered on the computer&lt;br /&gt;
rather than be handled by this dialog box.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael J. Quinn</dc:creator><pubDate>Wed, 05 Aug 2009 12:51:02 -0000</pubDate><guid>https://sourceforge.netf475dc54db43429dc625ea09a6ccf7e86e5c1f4e</guid></item><item><title>Assembly Not Loaded (from config dialog)</title><link>https://sourceforge.net/p/nunit/bugs/858/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In version 2.5.1.9189, I consistently get the following error:&lt;/p&gt;
&lt;p&gt;Title:  Assembly Not Loaded&lt;br /&gt;
MessageBox text:&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
System.ArgumentException : The net-0.0 framework is not available&lt;br /&gt;
Parameter name: framework&lt;/p&gt;
&lt;p&gt;For further information, use the Exception Details menu item.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;The Exception Details menu shows the following:&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
System.ArgumentException...&lt;br /&gt;
at NUnit.Util.TestAgency.GetAgent(RuntimeFramework framework, Int32 waitTime)&lt;br /&gt;
at NUnit.Util.ProcessRunner.Load(TestPackage package)&lt;br /&gt;
at NUnit.Util.TestLoader.ReloadTest(RuntimeFramework framework)&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;This is triggered from the following action:&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
1.  Open the "Project" Menu.&lt;br /&gt;
2.  Chose "Edit".&lt;br /&gt;
3.  In the Project Editor dialog box, do nothing other than click the "Close" button.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael J. Quinn</dc:creator><pubDate>Wed, 05 Aug 2009 12:22:05 -0000</pubDate><guid>https://sourceforge.net649c48e39e64fff0fae92f678d25fd192053bf42</guid></item><item><title>GUI check boxes out of sync</title><link>https://sourceforge.net/p/nunit/bugs/857/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="http://groups.google.com/group/nunit-discuss/browse_frm/thread/8f2ca046265625a2/fc234e5583ba62fb?lnk=gst&amp;amp;q=quinn#fc234e5583ba62fb" rel="nofollow"&gt;http://groups.google.com/group/nunit-discuss/browse_frm/thread/8f2ca046265625a2/fc234e5583ba62fb?lnk=gst&amp;amp;q=quinn#fc234e5583ba62fb&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(The text below has been updated since the posting of the thread that is referenced above)...&lt;/p&gt;
&lt;p&gt;On a fresh install of 2.5.1 (having 2.4.8 already installed), in the GUI, the check boxes were already visible, but the two buttons ("Clear All", and "Check Failed") were NOT displaying and the menu item (View/Tree/"Show Checkboxes") was not checked.  When I selected the menu item, the check mark showed next to the menu item and the buttons showed up (no change on the check boxes since they were already there).  Now, toggling the menu item hides or shows BOTH the buttons AND the check boxes together, correctly.  Initially, the check boxes were out of sync with the buttons and the menu item.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael J. Quinn</dc:creator><pubDate>Wed, 05 Aug 2009 12:08:54 -0000</pubDate><guid>https://sourceforge.net3fbd02416506d72f925769dca2268f596ced8fdc</guid></item><item><title>nUnit Test assembly will not update</title><link>https://sourceforge.net/p/nunit/bugs/856/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm running Visual Studio 2008 SP1 Standard Edition on a Windows XP Pro machine. I've created a test project as part of an ASP.Net MVC demo. I added one class to the project, which already had two classes. I ran nUnit and the tests were performed. I added another class to the project. This new class will not appear in the nUnit project. It doesn't matter what I do. I can delete the folders in the shadow copy cache. I can change the version of the assembly and rebuild. I can copy the dll to the shadow copy cache. I can disable shadow copy caching. It doesn't matter. These classes will not appear in the nUnit project. This bug renders the product useless after the first run of the test harness. I ran IL Disassembler, and it sees the new classes.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 04 Aug 2009 19:07:41 -0000</pubDate><guid>https://sourceforge.net4f135d1b93fe4bacb8c4ae4b1d34bfb69b75f5b3</guid></item></channel></rss>