Question

1
Replies
155
Views
Fabiano Torres (FabianoTorres)
Cap Gemini
Automation Architect
Cap Gemini
BR
FabianoTorres Member since 2016 11 posts
Cap Gemini
Posted: May 9, 2018
Last activity: May 10, 2018
Posted: 9 May 2018 10:13 EDT
Last activity: 10 May 2018 12:05 EDT
Closed

IE crashing on new window open loop

Dear colleagues, how are you? I'm automating a Remedy-based call appearance system. Each open call for treatment in the system opens in a new tab. Automation clicks a call to handle and closes the new window when it closes looping. At some point in processing, IE crashes preventing further automation. Could someone help me with a strategy to prevent IE from crashing?


Looking for errors, i found this stacktrace:



Dear colleagues, how are you? I'm automating a Remedy-based call appearance system. Each open call for treatment in the system opens in a new tab. Automation clicks a call to handle and closes the new window when it closes looping. At some point in processing, IE crashes preventing further automation. Could someone help me with a strategy to prevent IE from crashing?

Looking for errors, i found this stacktrace:

Info    | 11:24:09.866  | 13     | MTA   | Automation                |                                |                                | Creating Local Component.  CompId: Automator-8D59EED951B13AF\WaitForEvent-8D5B59622E43FF8
Error   | 11:24:10.044  | 26     | STA   | Exception                 |                                |                                | O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED)), Verbose Message: General Information


Diagnostic Info:
Diagnostic.MachineName: TSP3480631
Diagnostic.FullName: OpenSpan, Version=8.0.0.0, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: INTERNAL\T3293092
Diagnostic.ApplicationName: OpenSpan.Runtime

Exception Information



1) Exception Information
*********************************************
Exception Type: System.Runtime.InteropServices.COMException
ErrorCode: -2147417848
Message: "O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED))"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void IHTMLElement2_detachEvent(System.String, System.Object)
HelpLink: NULL
Source: "Microsoft.mshtml"
HResult: -2147417848

StackTrace Information
*********************************************
   em mshtml.HTMLDTElementClass.IHTMLElement2_detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.Wrappers.HtmlElement2Wrapper.detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.HtmlElement.DetachEvent(String name, HtmlObjectEventProxy proxy)
   em OpenSpan.Adapters.Web.HtmlObject.RemoveEventHandler(Object key, Delegate handler)
Error   | 11:24:10.185  | 26     | STA   | Exception                 |                                |                                | Não é possível converter o objeto COM do tipo 'mshtml.HTMLDivElementClass' na interface tipo 'mshtml.IHTMLElement2'. Esta operação falhou porque a chamada de QueryInterface no componente COM para a interface com IID '{3050F434-98B5-11CF-BB82-00AA00BDCE0B}' falhou devido ao seguinte erro: O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED))., Verbose Message: General Information


Diagnostic Info:
Diagnostic.MachineName: TSP3480631
Diagnostic.FullName: OpenSpan, Version=8.0.0.0, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: INTERNAL\T3293092
Diagnostic.ApplicationName: OpenSpan.Runtime

Exception Information



1) Exception Information
*********************************************
Exception Type: System.InvalidCastException
Message: "Não é possível converter o objeto COM do tipo 'mshtml.HTMLDivElementClass' na interface tipo 'mshtml.IHTMLElement2'. Esta operação falhou porque a chamada de QueryInterface no componente COM para a interface com IID '{3050F434-98B5-11CF-BB82-00AA00BDCE0B}' falhou devido ao seguinte erro: O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED))."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: IntPtr GetCOMIPFromRCW(System.Object, IntPtr, IntPtr ByRef, Boolean ByRef)
HelpLink: NULL
Source: "mscorlib"
HResult: -2147467262

StackTrace Information
*********************************************
   em System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   em mshtml.HTMLDivElementClass.IHTMLElement2_detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.Wrappers.HtmlElement2Wrapper.detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.HtmlElement.DetachEvent(String name, HtmlObjectEventProxy proxy)
   em OpenSpan.Adapters.Web.HtmlObject.RemoveEventHandler(Object key, Delegate handler)
Error   | 11:24:10.326  | 26     | STA   | Exception                 |                                |                                | Não é possível converter o objeto COM do tipo 'mshtml.HTMLDivElementClass' na interface tipo 'mshtml.IHTMLElement2'. Esta operação falhou porque a chamada de QueryInterface no componente COM para a interface com IID '{3050F434-98B5-11CF-BB82-00AA00BDCE0B}' falhou devido ao seguinte erro: O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED))., Verbose Message: General Information


Diagnostic Info:
Diagnostic.MachineName: TSP3480631
Diagnostic.FullName: OpenSpan, Version=8.0.0.0, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: INTERNAL\T3293092
Diagnostic.ApplicationName: OpenSpan.Runtime

Exception Information



1) Exception Information
*********************************************
Exception Type: System.InvalidCastException
Message: "Não é possível converter o objeto COM do tipo 'mshtml.HTMLDivElementClass' na interface tipo 'mshtml.IHTMLElement2'. Esta operação falhou porque a chamada de QueryInterface no componente COM para a interface com IID '{3050F434-98B5-11CF-BB82-00AA00BDCE0B}' falhou devido ao seguinte erro: O objeto chamado foi desconectado de seus clientes. (Exceção de HRESULT: 0x80010108 (RPC_E_DISCONNECTED))."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: IntPtr GetCOMIPFromRCW(System.Object, IntPtr, IntPtr ByRef, Boolean ByRef)
HelpLink: NULL
Source: "mscorlib"
HResult: -2147467262

StackTrace Information
*********************************************
   em System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   em mshtml.HTMLDivElementClass.IHTMLElement2_detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.Wrappers.HtmlElement2Wrapper.detachEvent(String event, Object pdisp)
   em OpenSpan.Adapters.Web.HtmlElement.DetachEvent(String name, HtmlObjectEventProxy proxy)
   em OpenSpan.Adapters.Web.HtmlObject.RemoveEventHandler(Object key, Delegate handler)

Instalation Data

Pega Robotics Studio
Version 14.0.25420.1 D14REL
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Express

Pega Robotics Studio 8.0.1087.0

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.