none
eventbroker exception geting raised from ccf 2009 RRS feed

  • Question

  • Hi ,

    we are having an integration solution uing CCF 2009 QFE1 (WPF) version which is giving the shell integrated UI with hosting multiple applications. this contains web,mainframe as well as windows application and also hosted controls as well.

    I am facing an error every now n then from desktop which gives me

    "Microsoft.Practices.CompositeUI.EventBroker.EventTopicException: One or more exceptions occurred while firing the topic 'topic://RequestDefaultAction'"

    As per the blogs and forum updates I did enabled the logs in app.config for EventTopic and composite UI following is the text found in log.

    The error details:

    Microsoft.Practices.CompositeUI.EventBroker.EventTopicException: One or more exceptions occurred while firing the topic 'topic://RequestDefaultAction'
       at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.CallSubscriptionHandlers(Object sender, EventArgs e, EventTopicFireDelegate[] handlers)
       at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Object sender, EventArgs e, WorkItem workItem, PublicationScope scope)
       at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Publication publication, Object sender, EventArgs e)
       at Microsoft.Practices.CompositeUI.EventBroker.Publication.PublicationHandler(Object sender, EventArgs e)
       at Microsoft.Ccf.Csr.ApplicationHost.ExecuteDefaultActions(Boolean taggedApplicationsOnly)
       at Microsoft.Ccf.Csr.ApplicationHost.ExecuteDefaultActions()
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.SetContext(Boolean initApps, CcfCustomer customer, ICcfContextManager ctxMgr)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.StartNewSession(AgentDesktopSession session, String sessionName, CcfCustomer customer, Guid callID, ICcfContextManager CtxMgr)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.AddSession(CcfCustomer customer, Guid callID)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.StartHostedApplications()
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopLoader.DoLoginStep(LoginSteps loginSteps)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopLoader.NonHostedApplicationsClient_GetNonHostedApplicationsCompleted(Object sender, GetNonHostedApplicationsCompletedEventArgs e)
       at Microsoft.Ccf.Desktop.UI.Core.NonHostedApplicationsService.NonHostedApplicationClient.OnGetNonHostedApplicationsCompleted(Object state)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)   at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.CallSubscriptionHandlers(Object sender, EventArgs e, EventTopicFireDelegate[] handlers)
       at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Object sender, EventArgs e, WorkItem workItem, PublicationScope scope)
       at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Publication publication, Object sender, EventArgs e)
       at Microsoft.Practices.CompositeUI.EventBroker.Publication.PublicationHandler(Object sender, EventArgs e)
       at Microsoft.Ccf.Csr.ApplicationHost.ExecuteDefaultActions(Boolean taggedApplicationsOnly)
       at Microsoft.Ccf.Csr.ApplicationHost.ExecuteDefaultActions()
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.SetContext(Boolean initApps, CcfCustomer customer, ICcfContextManager ctxMgr)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.StartNewSession(AgentDesktopSession session, String sessionName, CcfCustomer customer, Guid callID, ICcfContextManager CtxMgr)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.AddSession(CcfCustomer customer, Guid callID)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopBase.StartHostedApplications()
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopLoader.DoLoginStep(LoginSteps loginSteps)
       at Microsoft.Ccf.Desktop.UI.Core.CcfDesktopLoader.NonHostedApplicationsClient_GetNonHostedApplicationsCompleted(Object sender, GetNonHostedApplicationsCompletedEventArgs e)
       at Microsoft.Ccf.Desktop.UI.Core.NonHostedApplicationsService.NonHostedApplicationClient.OnGetNonHostedApplicationsCompleted(Object state)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

    The details after enabling logs:

    Microsoft.Practices.CompositeUI.EventBroker.EventTopic Information: 0 : Exceptions occurred while firing the EventTopic topic://RequestDefaultAction.
    Microsoft.Practices.CompositeUI.EventBroker.EventTopic Information: 0 : System.ArgumentException: Failed to navigate to the new URL of the Hosted Web Application: SOL
    Parameter name: initialization string ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Ccf.Csr.Browser.Web.IWebBrowser2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.StartBrowser(String urlString)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.PerformNavigate(String urlString, Boolean newWindow, String targetFrameName, Byte[] postData, String headers)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.Navigate(String urlString)
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       --- End of inner exception stack trace ---
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       at Microsoft.Ccf.Csr.HostedWebApplication.HandleRequestDefaultAction(Object sender, DataEventArgs`1 applicationType)
    Microsoft.Practices.CompositeUI.EventBroker.EventTopic Information: 0 : System.ArgumentException: Failed to navigate to the new URL of the Hosted Web Application: CSC Homepage
    Parameter name: initialization string ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Ccf.Csr.Browser.Web.IWebBrowser2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.StartBrowser(String urlString)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.PerformNavigate(String urlString, Boolean newWindow, String targetFrameName, Byte[] postData, String headers)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.Navigate(String urlString)
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       --- End of inner exception stack trace ---
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       at Microsoft.Ccf.Csr.HostedWebApplication.HandleRequestDefaultAction(Object sender, DataEventArgs`1 applicationType)
    Microsoft.Practices.CompositeUI.EventBroker.EventTopic Information: 0 : System.ArgumentException: Failed to navigate to the new URL of the Hosted Web Application: RB
    Parameter name: initialization string ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Ccf.Csr.Browser.Web.IWebBrowser2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.StartBrowser(String urlString)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.PerformNavigate(String urlString, Boolean newWindow, String targetFrameName, Byte[] postData, String headers)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.Navigate(String urlString)
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       --- End of inner exception stack trace ---
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       at Microsoft.Ccf.Csr.HostedWebApplication.HandleRequestDefaultAction(Object sender, DataEventArgs`1 applicationType)
    Microsoft.Practices.CompositeUI.EventBroker.EventTopic Information: 0 : System.ArgumentException: Failed to navigate to the new URL of the Hosted Web Application: CBF
    Parameter name: initialization string ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Ccf.Csr.Browser.Web.IWebBrowser2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.StartBrowser(String urlString)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.PerformNavigate(String urlString, Boolean newWindow, String targetFrameName, Byte[] postData, String headers)
       at Microsoft.Ccf.Csr.Browser.Web.WebBrowserExtended.Navigate(String urlString)
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       --- End of inner exception stack trace ---
       at Microsoft.Ccf.Csr.HostedWebApplication.DoDefaultAction()
       at Microsoft.Ccf.Csr.HostedWebApplication.HandleRequestDefaultAction(Object sender, DataEventArgs`1 applicationType)
    A first chance exception of type 'Microsoft.Practices.CompositeUI.EventBroker.EventTopicException' occurred in Microsoft.Ccf.Practices.CompositeUI.dll

    Some observations:

    • whenever this issue occurs web applications stop responding or it gets blank.
    • This issue get resolved whenever i close all IE.exe and start again.

    Points to note:

    • - I am using IE6.0 which does not have protected mode.
    • - Starting new browser process for each web application is not helping.
    • - Since underlined hosted applications has dependency i cant upgrade it to IE7 which has solved issue for many people.
    • MSHTML and IE versions are in sync (mshtml 7.0.3300.0)
    • We have one of the web application which has frames used. (heard of mshtml has issues with IFrames)

    I believe this issue is something to do with WebAdapters unhandled exceptions or the mshtml ....

    I have been trying on this big time....please revert back on this to solve it.....

    Any suggestions appreciated.....:(

     

    Monday, December 6, 2010 5:17 AM

Answers