Microsoft .NET Framework error message when close Excel
Brian45Fr opened this issue · comments
Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Rubberduck version [ 2.5.9.6291]
Operating System: [W10]
Host Product: [I do not know what it is]
Host Version: [I do not know what it is]
Host Executable: [I do not know what it is]
Description
When I want to exit Excel directly, I get this error message
To Reproduce
Steps to reproduce the behavior:
- Open Excel with one new workbook
- Quit Excel
Expected behavior
No error message, exit Excel normally
Logfile
Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs
, check your settings. Include this log for bug reports about the behavior of Rubberduck.
RubberduckLog.txt
Additional context
Add any other context about the problem here.
DetailErrorMessage.txt
I get this annoying issue as well in MS-Excel which have to sign out as locks my COM type library referencing from rebuiding. Thought maybe it was already reported.
Version 2.5.2.5906
OS: Microsoft Windows NT 10.0.19045.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5408.1001
Host Executable: EXCEL.EXE
@Brian45Fr The Host product details can be copied from menu Rubberduck->About (Copy version information to clipboard) link
Could you try whether the exception still occurs with the latest prerelease? I tried to prevent the access after release. However, I cannot check it myself, because the race condition does not occur on my machine.
Could you try whether the exception still occurs with the latest prerelease? I tried to prevent the access after release. However, I cannot check it myself, because the race condition does not occur on my machine.
Currently using Version 2.5.9.6296 which assume is the latest release. And for MS-Excel still get the excpeption triggered when closing MS-Excel. Excpetion is triggered even for a blank MS-Excel if visit the IDE. MS-Access appears fine which mainly use.
Version 2.5.9.6296
OS: Microsoft Windows NT 10.0.19045.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5413.1000
Host Executable: EXCEL.EXE
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Microsoft.Office.Core.CommandBarControl.set_Enabled(Boolean pvarfEnabled)
at Rubberduck.VBEditor.SafeComWrappers.Office12.CommandBarButton.set_IsEnabled(Boolean value)
at Rubberduck.UI.Command.MenuItems.CommandBars.AppCommandBarBase.<>c__DisplayClass11_1.<EvaluateCanExecuteAsync>b__1()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PEOfficeAddIn
Assembly Version: 1.0.6860.23340
Win32 Version: 1.0.6860.23340
CodeBase: file:///D:/Program%20Files/Common%20Files/Wondershare/PDFelement9/AddIns/PEOfficeAddIn_x64.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9172.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Rubberduck
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.dll
----------------------------------------
Microsoft.VisualStudio.Interop
Assembly Version: 17.0.0.0
Win32 Version: 17.0.31723.112
CodeBase: file:///D:/ProgramData/Rubberduck/Microsoft.VisualStudio.Interop.DLL
----------------------------------------
NLog
Assembly Version: 4.0.0.0
Win32 Version: 4.5.10.8381
CodeBase: file:///D:/ProgramData/Rubberduck/NLog.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9191.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Rubberduck.VBEditor
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.VBEditor.DLL
----------------------------------------
Rubberduck.Core
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.Core.DLL
----------------------------------------
System.IO.Abstractions
Assembly Version: 12.0.0.0
Win32 Version: 12.2.1.44447
CodeBase: file:///D:/ProgramData/Rubberduck/System.IO.Abstractions.DLL
----------------------------------------
Rubberduck.VBEditor.VB6
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.VBEditor.VB6.DLL
----------------------------------------
Rubberduck.VBEditor.VBA
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.VBEditor.VBA.DLL
----------------------------------------
Rubberduck.InternalApi
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.InternalApi.DLL
----------------------------------------
System.ValueTuple
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
EasyHook
Assembly Version: 2.7.6684.0
Win32 Version: 2.7.6684.0
CodeBase: file:///D:/ProgramData/Rubberduck/EasyHook.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Rubberduck.SettingsProvider
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.SettingsProvider.DLL
----------------------------------------
Rubberduck.Resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.Resources.DLL
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Rubberduck.Resources.resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/cs/Rubberduck.Resources.resources.DLL
----------------------------------------
Rubberduck.Resources.resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/de/Rubberduck.Resources.resources.DLL
----------------------------------------
Rubberduck.Resources.resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/es/Rubberduck.Resources.resources.DLL
----------------------------------------
Rubberduck.Resources.resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/fr/Rubberduck.Resources.resources.DLL
----------------------------------------
Rubberduck.Resources.resources
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/it/Rubberduck.Resources.resources.DLL
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Castle.Windsor
Assembly Version: 4.0.0.0
Win32 Version: 4.1.0
CodeBase: file:///D:/ProgramData/Rubberduck/Castle.Windsor.DLL
----------------------------------------
Castle.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.2.1
CodeBase: file:///D:/ProgramData/Rubberduck/Castle.Core.DLL
----------------------------------------
Rubberduck.Parsing
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.Parsing.DLL
----------------------------------------
Rubberduck.UnitTesting
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.UnitTesting.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
office
Assembly Version: 15.0.0.0
Win32 Version: 15.0.4613.1000
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/office/15.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
Rubberduck.Interaction
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.Interaction.DLL
----------------------------------------
Rubberduck.SmartIndenter
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.SmartIndenter.DLL
----------------------------------------
Antlr4.Runtime
Assembly Version: 4.6.0.0
Win32 Version: 4.6.4.0
CodeBase: file:///D:/ProgramData/Rubberduck/Antlr4.Runtime.DLL
----------------------------------------
Rubberduck.CodeAnalysis
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.CodeAnalysis.DLL
----------------------------------------
Rubberduck.Refactorings
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.Refactorings.dll
----------------------------------------
Rubberduck.RegexAssistant
Assembly Version: 2.5.9.6296
Win32 Version: 2.5.9.6296
CodeBase: file:///D:/ProgramData/Rubberduck/Rubberduck.RegexAssistant.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Windows.Interactivity
Assembly Version: 4.0.0.0
Win32 Version: 2.0.20525.0
CodeBase: file:///D:/ProgramData/Rubberduck/System.Windows.Interactivity.DLL
----------------------------------------
ICSharpCode.AvalonEdit
Assembly Version: 5.0.3.0
Win32 Version: 5.0.3.0
CodeBase: file:///D:/ProgramData/Rubberduck/ICSharpCode.AvalonEdit.DLL
----------------------------------------
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
System.Collections.Immutable
Assembly Version: 1.2.3.0
Win32 Version: 4.6.26515.06
CodeBase: file:///D:/ProgramData/Rubberduck/System.Collections.Immutable.DLL
----------------------------------------
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 4.2.1
CodeBase: file:///D:/ProgramData/Rubberduck/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 4.2.1
CodeBase: file:///D:/ProgramData/Rubberduck/Castle.Core.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
Infralution.Localization.Wpf
Assembly Version: 3.3.0.0
Win32 Version: 3.3.0.0
CodeBase: file:///D:/ProgramData/Rubberduck/Infralution.Localization.Wpf.dll
----------------------------------------
System.Windows.Controls.Ribbon
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Controls.Ribbon/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Controls.Ribbon.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9191.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
PresentationFramework.Aero2
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
PresentationFramework-SystemData
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
PresentationFramework-SystemXmlLinq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
----------------------------------------
PresentationFramework-SystemXml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
PresentationFramework-SystemCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
----------------------------------------
GongSolutions.WPF.DragDrop
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///D:/ProgramData/Rubberduck/GongSolutions.WPF.DragDrop.DLL
----------------------------------------
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
CustomMarshalers
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_64/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
stdole
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///D:/WINDOWS/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll
----------------------------------------
System.Dynamic.DynamicAssembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: 13.0.1.25517
CodeBase: file:///D:/ProgramData/Rubberduck/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///D:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.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.
This is the same issue my PR above tried to fix. That PR should have come in with the latest prerelease 2.5.9.6304 two days ago. Could you please check whether the issue persists in the latest prerelease?
This is the same issue my PR above tried to fix. That PR should have come in with the latest prerelease 2.5.9.6304 two days ago. Could you please check whether the issue persists in the latest prerelease?
Where do you find the latest prelease 2.5.9.6304 installer? Prerelease-v2.5.9.6296 is the latest can find via the rubberduckvba site. Or any other methods how to install the latest prelease?
Think I've found it. https://github.com/rubberduck-vba/Rubberduck/releases/tag/Prerelease-v2.5.9.6304 will check out later.
This is the same issue my PR above tried to fix. That PR should have come in with the latest prerelease 2.5.9.6304 two days ago. Could you please check whether the issue persists in the latest prerelease?
Using prerelease 2.5.9.6304 it appears the exception when closing MS-Excel has been addressed.
Version 2.5.9.6304
OS: Microsoft Windows NT 10.0.19045.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5413.1000
Host Executable: EXCEL.EXE
Prerelease-v2.5.9.6296 is the latest can find via the rubberduckvba site. Or any other methods how to install the latest prelease?
Normally that is automatically handled by a webhook endpoint on the API side, but the API has been down for a while and I really need to start looking into it... it's probably something as stupid as a GitHub token that expired and I somehow missed the email about it... although it doesn't explain why the rest of the public API is down, anyway...
In the meantime the best way to get notified of a new tag is to follow/"watch" the repository on GitHub, or to keep an eye on the "github-feed" channel on the Discord server.
Prerelease-v2.5.9.6296 is the latest can find via the rubberduckvba site. Or any other methods how to install the latest prelease?
Normally that is automatically handled by a webhook endpoint on the API side, but the API has been down for a while and I really need to start looking into it... it's probably something as stupid as a GitHub token that expired and I somehow missed the email about it... although it doesn't explain why the rest of the public API is down, anyway... In the meantime the best way to get notified of a new tag is to follow/"watch" the repository on GitHub, or to keep an eye on the "github-feed" channel on the Discord server.
Thanks found it and just installed version 2.5.9.6304 and appears the exception when closing MS-Excel was fixed.
Happy to hear that my fix worked for you.
Would it be possible to provide a warning level log from Rubberduck? I would like to verify that we log it when the unexpected access happens and gets swallowed. Actually, I am only really interested in the last warning message(s) about access after release.
@MarkJohnstoneGitHub, Great, but why doesn't it work for me :-(
Happy to hear that my fix worked for you.
Would it be possible to provide a warning level log from Rubberduck? I would like to verify that we log it when the unexpected access happens and gets swallowed. Actually, I am only really interested in the last warning message(s) about access after release.
Hopefully this is what you require. Attached the Rubberduck log just now after opening and closing an Excel project. It might have the log from ealier tonight. Yeah it's just past midnight did the opening and closing.
@MarkJohnstoneGitHub, Great, but why doesn't it work for me :-(
Did you install version 2.5.9.6304? https://github.com/rubberduck-vba/Rubberduck/releases/tag/Prerelease-v2.5.9.6304 . I just run the Rubberduck.Setup.2.5.9.6304-pre.exe to install it.
Happy to hear that my fix worked for you.
Would it be possible to provide a warning level log from Rubberduck? I would like to verify that we log it when the unexpected access happens and gets swallowed. Actually, I am only really interested in the last warning message(s) about access after release.
Adding another log with the warning log setting if that helps.
RubberduckLog.txt
Note: I haven't tested yet if still locks up the type library working on when exiting MS-Excel which was real annoying "feature". I'm assuming as now handing the exception "should" be ok. Will try and remember to test that the next time rebuilding the type library. Usually I'm developing in MS-Access and periodically update an MS-Excel verision to avoid the initially issue.
@MarkJohnstoneGitHub Thanks for the log.
The shutdown is still rather messy and warrants another look. However, we now seem to catch the exceptions at least. Seems the culprit for the crash was the access inside the exception handler,.
@MarkJohnstoneGitHub Thanks for the log.
The shutdown is still rather messy and warrants another look. However, we now seem to catch the exceptions at least. Seems the culprit for the crash was the access inside the exception handler,.
Nice could help identify the issue and awesome that the RD flock is still fixing critical RD2 issues. I know they are busy tinkering away with RD3 and noticed some up "late" burning the midnight oil. Wish could more directly help IMO my C# is average. Only started programming in C# since about June.
Going need some good karma to help with some COM questions down the track.😉 Like How to implement a predicate? and How to implementing the Char data type? . Ideas for those on the backburner thou love to open up the full functionality of the C# Array in VBA.
Achieved in VBA for C# Arrays dynamically creating for a type provided and functionality not requiring generics.