Skip to content

COMException in UIA3Automation.Compare and performance problems with long-running sessions. #35

Closed
@grokys

Description

@grokys

I'm seeing this exception quite a lot:

System.Runtime.InteropServices.COMException
  HResult=0x80004005
  Message=Error HRESULT E_FAIL has been returned from a call to a COM component.
  Source=<Cannot evaluate the exception source>
  StackTrace:
 	FlaUI.UIA3.dll!FlaUI.UIA3.UIA3Automation.Compare(FlaUI.Core.AutomationElements.AutomationElement element1, FlaUI.Core.AutomationElements.AutomationElement element2)	Unknown
 	FlaUI.Core.dll!FlaUI.Core.AutomationElements.AutomationElement.Equals(FlaUI.Core.AutomationElements.AutomationElement other)	Unknown
>	FlaUI.WebDriver.dll!FlaUI.WebDriver.Session.GetOrAddKnownElement.AnonymousMethod__0(FlaUI.WebDriver.KnownElement knownElement) Line 80	C#
 	System.Linq.dll!System.Linq.Enumerable.TryGetFirst<FlaUI.WebDriver.KnownElement>(System.Collections.Generic.IEnumerable<FlaUI.WebDriver.KnownElement> source, System.Func<FlaUI.WebDriver.KnownElement, bool> predicate, out bool found)	Unknown
 	System.Linq.dll!System.Linq.Enumerable.FirstOrDefault<FlaUI.WebDriver.KnownElement>(System.Collections.Generic.IEnumerable<FlaUI.WebDriver.KnownElement> source, System.Func<FlaUI.WebDriver.KnownElement, bool> predicate)	Unknown
 	FlaUI.WebDriver.dll!FlaUI.WebDriver.Session.GetOrAddKnownElement(FlaUI.Core.AutomationElements.AutomationElement element) Line 80	C#
 	System.Linq.dll!System.Linq.Utilities.CombineSelectors.AnonymousMethod__0(System.__Canon x)	Unknown
 	System.Linq.dll!System.Linq.Enumerable.SelectArrayIterator<FlaUI.Core.AutomationElements.AutomationElement, FlaUI.WebDriver.Models.FindElementResponse>.ToArray()	Unknown
 	System.Linq.dll!System.Linq.Enumerable.ToArray<FlaUI.WebDriver.Models.FindElementResponse>(System.Collections.Generic.IEnumerable<FlaUI.WebDriver.Models.FindElementResponse> source)	Unknown
 	FlaUI.WebDriver.dll!FlaUI.WebDriver.Controllers.FindElementsController.FindElementsFrom(System.Func<FlaUI.Core.AutomationElements.AutomationElement> startNode, FlaUI.WebDriver.Models.FindElementRequest findElementRequest, FlaUI.WebDriver.Session session) Line 92	C#
 	FlaUI.WebDriver.dll!FlaUI.WebDriver.Controllers.FindElementsController.FindElements(string sessionId, FlaUI.WebDriver.Models.FindElementRequest findElementRequest) Line 42	C#

Not sure why COMException would be thrown by UIA3Automation.Compare.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy