Loading...

nunit-discuss@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [nunit-discuss] NUnit 2.6.0.12035 (RC) - Exception raised when add/remove a category in GUI Charlie Poole Mon Feb 06 16:00:29 2012

This seems to be a bug. Would you file a bug report on it please?

Charlie

On Mon, Feb 6, 2012 at 2:58 PM, tph <[EMAIL PROTECTED]> wrote:
> Hi, I'm new here. I tried adding CategoryAttribute to my test cases
> and when I add or remove the category in the GUI, an
> InvalidOperationException was thrown. Is it a bug? Or did I do it
> wrong? Thanks in advance.
>
> Here's the detail:
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> System.InvalidOperationException: List that this enumerator is bound
> to has been modified. An enumerator can only be used if the list does
> not change.
>   at
> System.Windows.Forms.ListBox.ItemArray.EntryEnumerator.System.Collections.IEnumerator.MoveNext()
>   at NUnit.UiKit.TestTree.removeCategory_Click(Object sender,
> EventArgs e)
>   at System.Windows.Forms.Control.OnClick(EventArgs e)
>   at System.Windows.Forms.Button.OnClick(EventArgs e)
>   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
>   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
> button, Int32 clicks)
>   at System.Windows.Forms.Control.WndProc(Message& m)
>   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
>   at System.Windows.Forms.Button.WndProc(Message& m)
>   at
> System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
>   at
> System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
>   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
> msg, IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
> ----------------------------------------
> nunit
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: file:///C:/Program%20Files/NUnit%202.6/bin/nunit.exe
> ----------------------------------------
> nunit-gui-runner
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: 
> file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit-gui-runner.DLL
> ----------------------------------------
> nunit.core
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit.core.DLL
> ----------------------------------------
> nunit.util
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit.util.DLL
> ----------------------------------------
> nunit.uikit
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit.uikit.DLL
> ----------------------------------------
> System.Windows.Forms
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
> ----------------------------------------
> System
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
> ----------------------------------------
> System.Drawing
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
> ----------------------------------------
> nunit.core.interfaces
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: 
> file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit.core.interfaces.DLL
> ----------------------------------------
> System.Configuration
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
> ----------------------------------------
> System.Xml
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
> ----------------------------------------
> System.Runtime.Remoting
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
> ----------------------------------------
> nunit.uiexception
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.6.0.12035
>    CodeBase: 
> file:///C:/Program%20Files/NUnit%202.6/bin/lib/nunit.uiexception.DLL
> ----------------------------------------
> System.Web
>    Assembly Version: 2.0.0.0
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
> ----------------------------------------
> ilffisrb
>    Assembly Version: 2.6.0.12035
>    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
>    CodeBase: 
> file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
> ----------------------------------------
>
> ************** JIT Debugging **************
> To enable just-in-time (JIT) debugging, the .config file for this
> application or computer (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
>
> For example:
>
> <configuration>
>    <system.windows.forms jitDebugging="true" />
> </configuration>
>
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the computer
> rather than be handled by this dialog box.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "NUnit-Discuss" group.
> To post to this group, send email to [EMAIL PROTECTED]
> To unsubscribe from this group, send email to [EMAIL PROTECTED]
> For more options, visit this group at 
> http://groups.google.com/group/nunit-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"NUnit-Discuss" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nunit-discuss?hl=en.