Error while triggering an Automation

Jul 4, 2012 at 2:49 PM
Edited Jul 4, 2012 at 3:26 PM

I got the below mentioned error.

Putting the log below.

27-06-2012 14:24:10: CCA: DESKTOP_ERR_FATAL_ERROR:A possibly fatal error has occurred.  The application may now exit.
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.Uii.Csr.ApplicationHost.ExecuteDefaultActions(Boolean taggedApplicationsOnly)
   at Microsoft.Uii.Csr.ApplicationHost.ExecuteDefaultActions()
   at Microsoft.Uii.Desktop.UI.Core.DesktopBase.SetContext(CustomerEntity customer, IContextManager ctxMgr)
   at Microsoft.Uii.Desktop.UI.Core.DesktopBase.StartNewSession(AgentDesktopSession session, String sessionName, CustomerEntity customer, Guid callID, IContextManager CtxMgr)
   at Microsoft.Uii.Desktop.UI.Core.DesktopBase.AddSession(CustomerEntity customer, Guid callID)
   at Microsoft.Uii.Desktop.UI.Core.DesktopBase.StartHostedApplications()
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.DoLoginStep(LoginSteps loginSteps)
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.LoadNonHostedApplications(IApplicationService applicationService)
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.DoLoginStep(LoginSteps loginSteps)
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.Login()
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.DoLoginStep(LoginSteps loginSteps)
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.GetOptions()
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.DoLoginStep(LoginSteps loginSteps)
   at Microsoft.Uii.Desktop.UI.Core.DesktopLoader.LoadDesktop()
   at Microsoft.Uii.Desktop.UI.Core.DesktopBase.StartDesktopLoad()
   at Microsoft.Uii.Desktop.UI.Wpf.WpfDesktop.WpfRootDesktopForm_Loaded(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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)

Observing the log the probability is that there might be some  Session related issue.But I am not able to find out why?

Regards,

Sachin K

Jul 9, 2012 at 10:22 PM

Looks like your raising an exception in the constructor of an adapter.

could that be the case?

Mattb.

Jul 13, 2012 at 7:19 AM

Thanks Matt,

I am using HAT as Automation Adapter.Whenever there is an issue with Adapter then the error is quite distinctive.

Sachin K.