RD 2.0.8 Error HRESULT E_FAIL has been returned from a call to a COM component #2217
Labels
bug
Identifies work items for known bugs
critical
Marks a bug as a must-fix, showstopper issue
feature-inspections
Milestone
Following #2210, I manually added a couple of lines "'@ignore ProcedureNotUsed" and got the following error: "Error HRESULT E_FAIL has been returned from a call to a COM component". I clicked Continue and restarted Excel. It occurred only once.
More details:
Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Error HRESULT E_FAIL has been returned from a call to a COM component.
Text: 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.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.Vbe.Interop._VBComponent.get_Type()
at Rubberduck.Common.DeclarationExtensions.<>c.b__23_0(Declaration item) in C:\Users\hosch\Documents\Visual Studio 2015\Projects\Rubberduck\RetailCoder.VBE\Common\DeclarationExtensions.cs:line 354
at System.Linq.Enumerable.WhereListIterator
1.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)at Rubberduck.Common.DeclarationExtensions.FindFormEventHandlers(RubberduckParserState state) in C:\Users\hosch\Documents\Visual Studio 2015\Projects\Rubberduck\RetailCoder.VBE\Common\DeclarationExtensions.cs:line 354
at Rubberduck.Inspections.ParameterCanBeByValInspection.GetInspectionResults() in C:\Users\hosch\Documents\Visual Studio 2015\Projects\Rubberduck\RetailCoder.VBE\Inspections\ParameterCanBeByValInspection.cs:line 32
at (Object , Object[] )
at Ninject.Extensions.Interception.Injection.Dynamic.DynamicMethodInjector.Invoke(Object target, Object[] arguments)
at Ninject.Extensions.Interception.Invocation.Invocation.CallTargetMethod()
at Ninject.Extensions.Interception.Invocation.InvocationBase.Proceed()
at Rubberduck.Root.InterceptorBase.Intercept(IInvocation invocation) in C:\Users\hosch\Documents\Visual Studio 2015\Projects\Rubberduck\RetailCoder.VBE\Root\InterceptorBase.cs:line 13
...
************** 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.
The text was updated successfully, but these errors were encountered: