spdr870/gitextensions — Issue #776: Reset File Changes on SubModule cause exception
Author: ido-ran
Created: 2012-01-19 09:46:05+00:00
State: open

I use version 2.26.

I was on a branch that has submodule, I check out older branch before the sub module was added.
When I open the commit dialog I saw the sub module, I've selected Reset File Changes on it and the following exception occured.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Users\Ido\Documents\Projects\AuroraProject\Simulator\Engine\' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at GitUI.FormCommit.ResetSoftClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(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.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
GitExtensions
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/GitExtensions.exe
----------------------------------------
GitUI
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/GitUI.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
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.5447 (Win7SP1GDR.050727-5400)
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.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
GitCommands
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/GitCommands.DLL
----------------------------------------
GitUIPluginInterfaces
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/GitUIPluginInterfaces.DLL
----------------------------------------
ResourceManager
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/ResourceManager.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AutoCheckForUpdates
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/AutoCheckForUpdates.dll
----------------------------------------
AutoCompileSubmodules
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/AutoCompileSubmodules.dll
----------------------------------------
CreateLocalBranches
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/CreateLocalBranches.dll
----------------------------------------
DeleteUnusedBranches
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/DeleteUnusedBranches.dll
----------------------------------------
Github
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/Github.dll
----------------------------------------
GithubSharp.Core
Assembly Version: 1.0.4086.34883
Win32 Version: 1.0.4086.34883
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/GithubSharp.Core.DLL
----------------------------------------
GitImpact
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/GitImpact.dll
----------------------------------------
GitStatistics
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/GitStatistics.dll
----------------------------------------
Gource
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Plugins/Gource.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
sz8nd1ra
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ICSharpCode.TextEditor
Assembly Version: 4.0.0.3889
Win32 Version: 4.0.0.3889
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/ICSharpCode.TextEditor.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
m5qhtlah
Assembly Version: 2.26.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Microsoft.WindowsAPICodePack.Shell.DLL
----------------------------------------
Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Microsoft.WindowsAPICodePack.DLL
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
Gravatar
Assembly Version: 2.26.0.0
Win32 Version: 2.26
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/Gravatar.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
aqs2thhu
Assembly Version: 2.26.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
NetSpell.SpellChecker
Assembly Version: 2.1.7.35462
Win32 Version: 2.1.7.35462
CodeBase: file:///C:/Program%20Files%20(x86)/GitExtensions/NetSpell.SpellChecker.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:

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.